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

14 lines
439 B
TypeScript
Raw Permalink Normal View History

2017-02-10 00:08:28 +00:00
/// <reference path="TestGame.ts" />
/// <reference path="Boot.ts" />
2017-09-24 22:23:22 +00:00
module TK.SpaceTac.UI.Specs {
2017-10-26 21:47:13 +00:00
testing("Boot", test => {
2017-10-29 21:08:55 +00:00
let testgame = setupSingleView(test, () => [new Boot(), []]);
2017-02-21 22:38:31 +00:00
2017-10-26 21:47:13 +00:00
test.case("places empty loading background", check => {
check.equals(testgame.ui.world.children.length, 1);
check.equals(testgame.ui.world.children[0] instanceof Phaser.Image, true);
2017-02-10 00:08:28 +00:00
});
});
}