The Open Source kanban (built with Meteor). Keep variable/table/field names camelCase. For translations, only add Pull Request changes to wekan/i18n/en.i18n.json , other translations are done at https://transifex.com/wekan/wekan only.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wekan/packages/kadira-flow-router/test/common/route.spec.js

15 lines
351 B

Router = FlowRouter.Router;
Tinytest.addAsync('Common - Route - expose route options', function (test, next) {
var pathDef = "/" + Random.id();
var name = Random.id();
var data = {aa: 10};
FlowRouter.route(pathDef, {
name: name,
someData: data
});
test.equal(FlowRouter._routesMap[name].options.someData, data);
next();
});