-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathstryker.config.mjs
More file actions
43 lines (42 loc) · 1021 Bytes
/
Copy pathstryker.config.mjs
File metadata and controls
43 lines (42 loc) · 1021 Bytes
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
43
import { mutationFiles } from './scripts/stryker-scope.mjs';
// QNBS-v3: Share the validated risk-based mutation configuration between local tooling and CI.
export default {
packageManager: 'pnpm',
testRunner: 'vitest',
vitest: {
configFile: 'vitest.config.ts',
related: true,
},
coverageAnalysis: 'perTest',
ignoreStatic: true,
incremental: true,
incrementalFile: 'reports/stryker-incremental.json',
plugins: ['@stryker-mutator/vitest-runner'],
checkers: [],
mutate: mutationFiles,
thresholds: {
high: 85,
low: 70,
break: 75,
},
reporters: ['progress', 'json', 'html'],
htmlReporter: {
fileName: 'reports/mutation/mutation.html',
},
jsonReporter: {
fileName: 'reports/mutation/mutation.json',
},
timeoutMS: 60000,
timeoutFactor: 2.0,
concurrency: 2,
tempDirName: '.stryker-tmp',
warnings: {
slow: true,
},
ignorePatterns: [
'**/dist/**',
'**/node_modules/**',
'**/playwright-report/**',
'**/storybook-static/**',
],
};