forked from vscode-icons/vscode-icons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wallaby.js
33 lines (33 loc) · 857 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
31
32
33
module.exports = {
files: [
'src/**/*.ts',
'test/fixtures/**/*.ts',
'lang.nls.bundle.json',
'package.json',
'locale/**',
'icons/*.*',
],
tests: ['test/**/*.test.ts'],
filesWithNoCoverageCalculated: [],
preprocessors: {
'**/*.json': (file, done) => done(file.rename(`../${file.path}`).content),
'icons/*.*': (file, done) => done(file.rename(`../${file.path}`).content),
},
hints: {
ignoreCoverage: /\/* wallaby ignore next\/*/,
},
testFramework: 'mocha',
env: {
type: 'node',
runner:
process.platform === 'win32'
? `${process.env.APPDATA}\\nvm\\v10.2.0\\node`
: `${require('os').homedir()}/.nvm/versions/node/v10.2.0/bin/node`,
},
delays: {
run: 500,
},
debug: true,
reportConsoleErrorAsError: true,
setup: (wallaby) => wallaby.testFramework.ui('bdd'),
};