2017-02-10 00:08:28 +00:00
|
|
|
/// <reference path="TestGame.ts" />
|
|
|
|
/// <reference path="Router.ts" />
|
|
|
|
|
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 => {
|
2018-05-15 14:57:45 +00:00
|
|
|
check.instance(testgame.ui.getActiveScene(), Router, "active scene should be Router");
|
2017-02-10 00:08:28 +00:00
|
|
|
// TODO test routing
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|