Merge branch 'develop' of github.com:thecodingmachine/workadventure into metadataScriptingApi
This commit is contained in:
commit
2ee62c9e9e
84 changed files with 2218 additions and 1648 deletions
|
@ -1,7 +1,7 @@
|
|||
import "jasmine";
|
||||
import {Room} from "../../../src/Connexion/Room";
|
||||
import {flattenGroupLayersMap} from "../../../src/Phaser/Map/LayersFlattener";
|
||||
import {ITiledMapLayer} from "../../../src/Phaser/Map/ITiledMap";
|
||||
import type {ITiledMapLayer} from "../../../src/Phaser/Map/ITiledMap";
|
||||
|
||||
describe("Layers flattener", () => {
|
||||
it("should iterate maps with no group", () => {
|
||||
|
|
|
@ -50,6 +50,6 @@ describe("Test HdpiManager", () => {
|
|||
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);
|
||||
expect(hdpiManager.zoomModifier).toEqual(2 / 3);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue