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

11 lines
338 B
TypeScript
Raw Normal View History

2017-09-24 22:23:22 +00:00
module TK.SpaceTac.UI.Specs {
2017-10-26 21:47:13 +00:00
testing("Router", test => {
2018-05-15 14:57:45 +00:00
let testgame = setupSingleView(test, () => [new Router({}), {}]);
2017-02-21 22:38:31 +00:00
2017-10-26 21:47:13 +00:00
test.case("loads correctly", check => {
2019-05-14 09:14:41 +00:00
check.instance(testgame.ui.scene.scenes[0], Router, "active scene should be Router");
2017-02-10 00:08:28 +00:00
// TODO test routing
});
});
}