Added cucumber tests (wip)
This commit is contained in:
parent
d798aa2cdf
commit
fb3511b264
11 changed files with 272 additions and 11 deletions
9
imports/ui/components/Utils/TestUtils.js
Normal file
9
imports/ui/components/Utils/TestUtils.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import { Meteor } from 'meteor/meteor';
|
||||
import { Random } from 'meteor/random';
|
||||
|
||||
export const testId = (id) => {
|
||||
if (Meteor.isDevelopment) {
|
||||
return id;
|
||||
}
|
||||
return Random.id;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue