Fixing CI
This commit is contained in:
parent
4b89e08ea6
commit
cd2873e9d3
4 changed files with 6 additions and 10 deletions
|
@ -35,7 +35,7 @@ describe("Test HdpiManager", () => {
|
|||
|
||||
hdpiManager.zoomModifier = 11;
|
||||
|
||||
let result = hdpiManager.getOptimalGameSize({ width: 640, height: 640 });
|
||||
const result = hdpiManager.getOptimalGameSize({ width: 640, height: 640 });
|
||||
expect(result.game.width).toEqual(64);
|
||||
expect(result.game.height).toEqual(64);
|
||||
expect(hdpiManager.zoomModifier).toEqual(10);
|
||||
|
@ -47,7 +47,7 @@ describe("Test HdpiManager", () => {
|
|||
|
||||
hdpiManager.zoomModifier = 1/10;
|
||||
|
||||
let result = hdpiManager.getOptimalGameSize({ width: 1280, height: 768 });
|
||||
const result = hdpiManager.getOptimalGameSize({ width: 1280, height: 768 });
|
||||
expect(result.game.width).toEqual(1280);
|
||||
expect(result.game.height).toEqual(768);
|
||||
expect(hdpiManager.zoomModifier).toEqual(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue