1
0
Fork 0
spacetac/src/ui/Router.spec.ts
2019-11-21 23:14:27 +01:00

14 lines
389 B
TypeScript

import { Router } from "parse";
import { testing } from "../common/Testing";
import { setupSingleView } from "./TestGame";
testing("Router", test => {
let testgame = setupSingleView(test, () => [new Router({}), {}]);
test.case("loads correctly", check => {
check.instance(testgame.ui.scene.scenes[0], Router, "active scene should be Router");
// TODO test routing
});
});