diff --git a/.gitignore b/.gitignore index 12881fa..ff8dc43 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,8 @@ frontend/dist/ node_modules/ *.log .DS_Store + +# Mutation-testing artifacts (mcp/) — reports/ is the HTML output, .stryker-tmp/ holds the +# backing copy used by `inPlace` mode during a run. Both regenerated on every `stryker run`. +mcp/reports/ +mcp/.stryker-tmp/ diff --git a/mcp/.stryker.conf.json b/mcp/.stryker.conf.json new file mode 100644 index 0000000..a564d45 --- /dev/null +++ b/mcp/.stryker.conf.json @@ -0,0 +1,29 @@ +{ + "$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json", + "packageManager": "npm", + "testRunner": "vitest", + "vitest": { + "configFile": "vitest.config.js", + "related": false + }, + "coverageAnalysis": "perTest", + "mutate": [ + "src/state.js", + "src/labels.js", + "src/tools.js" + ], + "testFiles": [ + "test/**/*.test.js" + ], + "inPlace": true, + "ignorePatterns": [], + "thresholds": { + "high": 80, + "low": 60, + "break": 0 + }, + "reporters": ["html", "progress", "clear-text"], + "concurrency": 2, + "disableTypeChecks": true, + "cleanTempDir": true +}