Fixing use const instead of let

This commit is contained in:
David Négrier 2020-06-09 23:13:26 +02:00
parent 54f2518b5e
commit 8348d13bfe
17 changed files with 116 additions and 116 deletions

View file

@ -3,7 +3,7 @@ import {PlayerMovement} from "../../../src/Phaser/Game/PlayerMovement";
describe("Interpolation / Extrapolation", () => {
it("should interpolate", () => {
let playerMovement = new PlayerMovement({
const playerMovement = new PlayerMovement({
x: 100, y: 200
}, 42000,
{
@ -39,7 +39,7 @@ describe("Interpolation / Extrapolation", () => {
});
it("should not extrapolate if we stop", () => {
let playerMovement = new PlayerMovement({
const playerMovement = new PlayerMovement({
x: 100, y: 200
}, 42000,
{
@ -57,7 +57,7 @@ describe("Interpolation / Extrapolation", () => {
});
it("should should keep moving until it stops", () => {
let playerMovement = new PlayerMovement({
const playerMovement = new PlayerMovement({
x: 100, y: 200
}, 42000,
{