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

14 lines
432 B
TypeScript
Raw Normal View History

2017-02-10 00:08:28 +00:00
/// <reference path="TestGame.ts" />
/// <reference path="Boot.ts" />
module TS.SpaceTac.UI.Specs {
describe("Boot", () => {
2017-02-21 22:38:31 +00:00
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);
2017-02-10 00:08:28 +00:00
});
});
}