1
0
Fork 0
spacetac/src/ui/Boot.spec.ts

14 lines
432 B
TypeScript

/// <reference path="TestGame.ts" />
/// <reference path="Boot.ts" />
module TS.SpaceTac.UI.Specs {
describe("Boot", () => {
let testgame = setupSingleView(testgame => [new Boot(), []]);
it("places empty loading background", function () {
expect(testgame.ui.world.children.length).toBe(1);
expect(testgame.ui.world.children[0] instanceof Phaser.Image).toBe(true);
});
});
}