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 => {
|
2017-10-29 21:08:55 +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 => {
|
|
|
|
check.equals(testgame.ui.state.current, "test");
|
2017-02-10 00:08:28 +00:00
|
|
|
// TODO test routing
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|