forked from Lex-Studios/Stellar-Spend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstryker.conf.json
More file actions
49 lines (49 loc) · 1.33 KB
/
Copy pathstryker.conf.json
File metadata and controls
49 lines (49 loc) · 1.33 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
43
44
45
46
47
48
49
{
"$schema": "https://raw.githubusercontent.com/stryker-mutator/stryker-js/master/packages/core/schema/stryker-schema.json",
"version": "7",
"testRunner": "vitest",
"testFramework": "vitest",
"coverageAnalysis": "perTest",
"mutate": [
"src/lib/**/*.ts",
"src/lib/**/*.tsx",
"!src/lib/**/*.test.ts",
"!src/lib/**/*.test.tsx",
"!src/lib/**/*.d.ts",
"src/app/api/**/*.ts",
"!src/app/api/**/*.test.ts"
],
"mutationGroups": {
"money-path": [
"src/lib/cache/service.ts",
"src/lib/cache/keys.ts",
"src/lib/clients/http-client.ts",
"src/lib/clients/paycrest.ts",
"src/lib/clients/allbridge.ts"
],
"security": ["src/lib/clients/http-client.ts"]
},
"reporters": ["progress", "progress-append-only", "html", "json", "clear-text"],
"htmlReporter": {
"baseDir": "./mutation-report"
},
"jsonReporter": {
"fileName": "./mutation-report/mutation-report.json"
},
"thresholds": {
"high": 80,
"medium": 70,
"low": 60,
"break": 55
},
"timeoutMS": 8000,
"timeoutFactor": 1.5,
"maxConcurrentTestRunners": 4,
"plugins": ["@stryker-mutator/typescript-checker"],
"checkers": ["typescript"],
"tsconfigFile": "tsconfig.json",
"testRunnerNodeArgs": ["--experimental-vm-modules"],
"vitest": {
"configFile": "vitest.mutation.config.ts"
}
}