Files
novalon-website/stryker.config.json
T
zhangxiang 602ed6a671 test(hooks): finalize mutation test improvements and release acceptance
- Raise use-swipe-gesture mutation score to 66.13% (target 65%+)
- Maintain use-reduced-motion mutation score at 76.32% (target 50%+)
- Fix use-reduced-motion.ts ESLint set-state-in-effect warning
- Add UJ-10 deep searcher journey (category browse → article read → content discovery)
- Add 40 new test files (analytics, detail, sections, ui, lib components)
- Update test-strategy-plan.md to v2.0 (sync test count to 1591)
- Sync README.md with final release metrics

Quality gates: TS 0 errors, ESLint 0 errors, 121 suites / 1591 tests passed
2026-08-02 19:39:27 +08:00

55 lines
1.3 KiB
JSON

{
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
"packageManager": "npm",
"reporters": ["html", "clear-text", "progress"],
"testRunner": "jest",
"coverageAnalysis": "perTest",
"mutate": [
"src/lib/**/*.ts",
"src/hooks/**/*.{ts,tsx}",
"src/components/ui/**/*.{ts,tsx}",
"src/components/layout/**/*.{ts,tsx}",
"src/components/analytics/**/*.{ts,tsx}",
"src/components/seo/**/*.{ts,tsx}",
"src/components/detail/**/*.{ts,tsx}",
"src/components/sections/**/*.{ts,tsx}",
"src/components/content/**/*.{ts,tsx}",
"src/lib/cms/**/*.ts",
"!src/**/*.test.{ts,tsx}",
"!src/**/__tests__/**",
"!src/lib/constants/**"
],
"thresholds": {
"high": 80,
"low": 60,
"break": 50
},
"timeoutMS": 120000,
"cleanTempDir": true,
"symlinkNodeModules": true,
"ignorePatterns": [
".eslintrc.json",
".eslintrc",
"eslint.config.mjs",
".lintstagedrc.js",
"commitlint.config.js",
"next.config.mjs",
"postcss.config.js",
"tailwind.config.js",
"tsconfig.json",
"public/",
"dist/",
".next/",
"scripts/",
"e2e/",
".claude/",
".trae/",
".git/",
".husky/",
"coverage/",
".superpowers/"
],
"jest": {
"configFile": "config/test/jest.config.js"
}
}