-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy path.wallaby-server.js
More file actions
24 lines (24 loc) · 799 Bytes
/
.wallaby-server.js
File metadata and controls
24 lines (24 loc) · 799 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module.exports = (wallaby) => {
const path = require('path');
return {
debug: false,
testFramework: 'mocha',
files: [
'src/imports/**/*.js',
{pattern: 'src/imports/**/*spec.js', ignore: true},
{pattern: 'src/imports/*(browser|ui)*', ignore: true},
{pattern: 'src/imports/@(browser|ui)/**/*.js', ignore: true},
],
tests: [
'src/imports/**/*spec.js',
{pattern: 'src/imports/*(browser|ui)*', ignore: true},
{pattern: 'src/imports/@(browser|ui)/**/*.js', ignore: true},
],
compilers: {'**/*.js': wallaby.compilers.babel()},
env: {type: 'node'},
workers: {initial: 1, regular: 1, recycle: true},
setup: () => {
wallaby.testFramework.addFile(`${wallaby.localProjectDir}/config/mocha.bootstrap.js`);
},
}
};