-
Notifications
You must be signed in to change notification settings - Fork 0
/
wallaby.js
46 lines (38 loc) · 1.07 KB
/
wallaby.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/* eslint arrow-body-style: 0 */
module.exports = (wallaby) => {
return {
debug: true,
files: [
{pattern: 'node_modules/mocha/**/*.js', instrument: false},
{pattern: 'node_modules/chai/**/*.js', instrument: false},
{pattern: 'node_modules/gulp/**/*.js', instrument: false},
{pattern: 'node_modules/gulp-sequence/**/*.js', instrument: false},
{
pattern: 'node_modules/gulp-load-plugins/**/*.js',
instrument: false
},
{pattern: 'lib/**/*.js'},
{pattern: 'example/**', instrument: false},
{pattern: 'package.json', instrument: false},
{pattern: 'test/helpers/*.js'},
{pattern: 'test/badyml.yml', instrument: false},
{pattern: 'test/bootstrap/*.js', instrument: false}
],
tests: [
{pattern: 'test/**/*-spec.js'}
],
env: {
type: 'node'
},
testFramework: 'mocha',
setup: () => {
require('./test/bootstrap/includeGlobals.js');
},
compilers: {
'**/*.js': wallaby.compilers.babel()
},
workers: {
recycle: true
}
};
};