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
This commit is contained in:
+9
-5
@@ -9,6 +9,11 @@
|
||||
"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__/**",
|
||||
@@ -17,9 +22,9 @@
|
||||
"thresholds": {
|
||||
"high": 80,
|
||||
"low": 60,
|
||||
"break": 30
|
||||
"break": 50
|
||||
},
|
||||
"timeoutMS": 60000,
|
||||
"timeoutMS": 120000,
|
||||
"cleanTempDir": true,
|
||||
"symlinkNodeModules": true,
|
||||
"ignorePatterns": [
|
||||
@@ -35,15 +40,14 @@
|
||||
"public/",
|
||||
"dist/",
|
||||
".next/",
|
||||
"prisma/",
|
||||
"scripts/",
|
||||
"e2e/",
|
||||
".claude/",
|
||||
".trae/",
|
||||
".git/",
|
||||
".husky/",
|
||||
"node_modules/",
|
||||
"coverage/"
|
||||
"coverage/",
|
||||
".superpowers/"
|
||||
],
|
||||
"jest": {
|
||||
"configFile": "config/test/jest.config.js"
|
||||
|
||||
Reference in New Issue
Block a user