-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
wallaby.config.js
39 lines (36 loc) · 1.16 KB
/
wallaby.config.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
module.exports = function (wallaby) {
return {
files: [
'client/**/*.ts',
'server/**/*.ts',
{ pattern: 'server/node_modules/parse5-sax-parser/**/*.{js,json}', instrument: false },
{ pattern: 'server/node_modules/parse5/**/*.{js,json}', instrument: false },
{ pattern: 'server/node_modules/@ts-morph/**/*.{d.ts}', instrument: false },
'**/tsconfig.json',
'tests/common/**/*.ts',
'tests/unit/common/**/*.ts',
'tests/unit/helpers/**/*.ts',
{ pattern: 'tests/**/*.feature', instrument: false },
{ pattern: 'tests/testFixture/**/*.{ts,html,json}', instrument: false },
'tests/step-definitions/**/*.ts',
'tests/minimal-jest/**/*.{ts,feature}',
'tests/dev-test-helpers/**/*.{ts,json}',
'tests/jest-cucumber-setup.spec.ts',
],
tests: [
'tests/testLauncher/withWallaby.spec.ts',
// 'tests/unit/core/**/*.spec.ts'
],
testFramework: 'jest',
env: {
type: 'node',
},
debug: true,
filesWithNoCoverageCalculated: [
'**/node_modules/**',
'client/**',
'server/src/common/@aurelia-runtime-patch/**/*',
'tests/**/*.spec.ts',
]
}
};