wekan/packages/kadira-flow-router/test/client/loader.spec.js
Lauri Ojansivu 73e265d8fd Include to Wekan packages directory contents, so that meteor command would build all directly.
This also simplifies build scripts.

Thanks to xet7 !
2019-04-20 15:18:33 +03:00

17 lines
364 B
JavaScript

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);
});