Skip to content

Commit 597287e

Browse files
KevenWMarkhamclaude
andcommitted
docs(sprint-01): add unit testing session prompt and clarify Claude's orchestrator role
- Add comprehensive UNIT_TESTING_SESSION_PROMPT.md for Sprint 01 - Detailed testing guide for all 8 packages - Mock requirements and test structure - 80% coverage target with thresholds - Vitest workspace configuration guidance - Success criteria and validation commands - Update ORCHESTRATION.md with clear role definition - Define Claude as orchestrator, NOT code executor - Clarify planning vs implementation separation - Document proper workflow for session separation - Prevent context mixing between phases - Configure Vitest for monorepo testing - Install vitest, @vitest/ui, @vitest/coverage-v8, happy-dom - Create root vitest.config.ts for main app - Update package.json scripts (test, test:watch, test:coverage, test:ui) - vitest.workspace.ts already exists with proper configuration 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6bb108b commit 597287e

File tree

5 files changed

+590
-124
lines changed

5 files changed

+590
-124
lines changed

package.json

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
"lint:fix": "eslint . --fix",
1717
"format": "prettier --write \"src/**/*.{ts,tsx,css}\"",
1818
"format:check": "prettier --check \"src/**/*.{ts,tsx,css}\"",
19-
"test": "jest",
20-
"test:watch": "jest --watch",
21-
"test:coverage": "jest --coverage",
19+
"test": "vitest run",
20+
"test:watch": "vitest",
21+
"test:coverage": "vitest run --coverage",
22+
"test:ui": "vitest --ui",
2223
"test:e2e": "playwright test",
2324
"test:e2e:ui": "playwright test --ui",
2425
"test:e2e:headed": "playwright test --headed",
@@ -48,6 +49,10 @@
4849
"@ffmpeg/ffmpeg": "^0.12.15",
4950
"@ffmpeg/util": "^0.12.2",
5051
"@google/genai": "^1.34.0",
52+
"@radix-ui/react-dialog": "^1.1.15",
53+
"@radix-ui/react-progress": "^1.1.8",
54+
"@radix-ui/react-slot": "^1.2.4",
55+
"@tanstack/react-virtual": "^3.13.13",
5156
"@transcript-parser/ai-services": "workspace:*",
5257
"@transcript-parser/audio-processing": "workspace:*",
5358
"@transcript-parser/config": "workspace:*",
@@ -56,10 +61,6 @@
5661
"@transcript-parser/module-sdk": "workspace:*",
5762
"@transcript-parser/types": "workspace:*",
5863
"@transcript-parser/ui": "workspace:*",
59-
"@radix-ui/react-dialog": "^1.1.15",
60-
"@radix-ui/react-progress": "^1.1.8",
61-
"@radix-ui/react-slot": "^1.2.4",
62-
"@tanstack/react-virtual": "^3.13.13",
6364
"app-builder-bin": "^5.0.0-alpha.12",
6465
"bcrypt": "^6.0.0",
6566
"class-variance-authority": "^0.7.1",
@@ -95,6 +96,8 @@
9596
"@types/react": "^18.3.18",
9697
"@types/react-dom": "^18.3.5",
9798
"@vitejs/plugin-react": "^4.3.4",
99+
"@vitest/coverage-v8": "^4.0.16",
100+
"@vitest/ui": "^4.0.16",
98101
"autoprefixer": "^10.4.23",
99102
"commitizen": "^4.3.1",
100103
"concurrently": "^9.2.1",
@@ -109,6 +112,7 @@
109112
"eslint-plugin-react-hooks": "^5.0.0",
110113
"eslint-plugin-react-refresh": "^0.4.16",
111114
"globals": "^15.13.0",
115+
"happy-dom": "^20.0.11",
112116
"husky": "^9.1.7",
113117
"identity-obj-proxy": "^3.0.0",
114118
"jest": "^30.2.0",
@@ -127,6 +131,7 @@
127131
"undici": "^7.16.0",
128132
"vite": "^6.0.5",
129133
"vite-plugin-pwa": "^1.2.0",
134+
"vitest": "^4.0.16",
130135
"wait-on": "^9.0.3",
131136
"whatwg-fetch": "^3.6.20"
132137
},

0 commit comments

Comments
 (0)