summaryrefslogtreecommitdiffstats
path: root/packages/kadira-flow-router/test/client/loader.spec.js
blob: 091c2e0216afa95903f79a97909be11840bd7fbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Router = FlowRouter.Router;


Tinytest.add('Client - import page.js', function (test) {
  test.isTrue(!!Router.prototype._page);
  test.isFalse(!!window.page);
});


Tinytest.add('Client - import query.js', function (test) {
  test.isTrue(!!Router.prototype._qs);
});


Tinytest.add('Client - create FlowRouter', function (test) {
  test.isTrue(!!FlowRouter);
});