forked from OWASP/Maturity-Models
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wallaby.js
30 lines (27 loc) · 852 Bytes
/
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
require('fluentnode')
module.exports = function (wallaby) {
return {
files: [
'code/api/src/**/*.coffee',
'code/api/views/**/*.pug',
{ pattern: 'data/**/*' , instrument: false, load: false, ignore: false },
{ pattern: 'code/ui/src/services/*', instrument: false, load: false, ignore: false },
],
tests: [
'code/api/test/**/*.coffee',
'code/api/test/*.coffee'
],
env: {
type: 'node'
},
setup: function (wallaby)
{
console.log('running tests')
//console.log(wallaby)
},
workers: {
initial: 1, // without these sometimes the fluentnode apis
regular: 1 // are not detected
}
};
};