-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.wallaby.js
More file actions
42 lines (41 loc) · 1.12 KB
/
Copy path.wallaby.js
File metadata and controls
42 lines (41 loc) · 1.12 KB
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
/** @type {import('wallabyjs').IWallaby} */
export default {
// @ts-expect-error missing type
autoDetect: ['node:test'],
env: {
params: {
env: 'DEBUG=bupkis*;WALLABY=1',
},
runner: 'node',
type: 'node',
},
files: [
'packages/*/src/**/*.ts',
'packages/*/package.json',
'packages/bupkis/test/**/*.ts',
'!packages/bupkis/test/**/*.test.ts',
'!**/*.cts',
{ instrument: false, pattern: 'packages/bupkis/test/fixture/**' },
{
instrument: false,
pattern: 'packages/bupkis/test/**/*.test.ts.snapshot',
},
],
filesWithNoCoverageCalculated: [
'.tmp/**/*.test.ts',
'packages/*/test/**/*.ts',
],
preloadModules: ['tsx/esm'],
runMode: 'onsave',
tests: [
'.tmp/**/*.test.ts',
'packages/*/test/**/*.test.ts',
'!node_modules/**',
'!**/dist/**',
// snapshot tests, which wallaby struggles with
'!packages/bupkis/test/assertion-error/**/*',
'!packages/bupkis/test/assertion/assertion-classification.test.ts',
'!packages/bupkis/test/integration/snapshot-integration.test.ts',
'!packages/bupkis/test/snapshot/**/*.test.ts',
],
};