Files
mintel.me/apps/web/stryker.config.json
T
mmintelandClaude Sonnet 5.5 0995a3b5ca test: add vitest, coverage and mutation gate with availability domain core
Pure logic lives in apps/web/src/domain and must stay at 100% coverage and a
100% mutation score. The first unit is the availability logic for the hero:
parsing, resolving and formatting the next free capacity block.

Vitest is pinned to 4.1.11 because @stryker-mutator/vitest-runner 10.0.0
runs zero tests per mutant under vitest 5 and reports surviving mutants.
ESLint now ignores Stryker, coverage and report output.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-03 18:12:47 +02:00

44 lines
890 B
JSON

{
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
"testRunner": "vitest",
"checkers": ["typescript"],
"tsconfigFile": "tsconfig.json",
"mutate": ["src/domain/**/*.ts", "!src/domain/**/*.spec.ts"],
"reporters": ["clear-text", "json"],
"jsonReporter": {
"fileName": "reports/mutation/mutation.json"
},
"tempDirName": ".stryker-tmp",
"cleanTempDir": true,
"thresholds": {
"high": 100,
"low": 100,
"break": 100
},
"plugins": [
"@stryker-mutator/vitest-runner",
"@stryker-mutator/typescript-checker"
],
"ignorePatterns": [
"cloned-websites",
"public",
"out",
"dist",
"storage",
"data",
"content",
"video",
"reports",
".next",
".turbo",
"coverage",
"backups",
"logs",
"docker"
],
"coverageAnalysis": "off",
"vitest": {
"related": false
}
}