generated from boneskull/boneskull-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.wallaby.js
41 lines (40 loc) · 993 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
34
35
36
37
38
39
40
41
'use strict';
module.exports = () => {
return {
env: {
type: 'node',
params: {
env: 'DEBUG=midnight-smoker*',
},
},
files: [
'./packages/*/src/**/*.ts',
{
pattern: './packages/midnight-smoker/bin/smoker.js',
instrument: false,
},
'./packages/midnight-smoker/test/unit/mocks.ts',
'./packages/midnight-smoker/test/unit/test-plugin.ts',
'./packages/*/package.json',
'!./packages/midnight-smoker/src/cli.ts',
{
pattern: './packages/*/data/*.json',
instrument: false,
},
'./packages/*/test/harness.ts',
{
pattern: './packages/*/test/**/fixture/**/*',
instrument: false,
},
],
testFramework: 'mocha',
tests: [
'./packages/*/test/**/*.spec.ts',
'!./packages/*/test/e2e/**/*.spec.ts',
],
runMode: 'onsave',
setup(wallaby) {
process.env.WALLABY_PROJECT_DIR = wallaby.localProjectDir;
},
};
};