Commit aee2e8b
feat: complete npm→Deno test migration (Task #3 - 95% done)
Phase 2 (Test Migration) - COMPLETE:
- Converted all 33 Vitest tests to Deno.test format
- tea_cmd_test.js: 13 tests (commands, execution, mapping)
- tea_sub_test.js: 16 tests (subscriptions, cleanup, keys)
- tea_render_test.js: 2 tests (state management)
- tea_app_test.js: 2 tests (already done)
- Removed old Vitest test files (Tea_*.test.js)
- Created simple mock functions (no Vitest dependency)
- All 33 tests passing with `deno task test`
Phase 3 (Dependencies) - COMPLETE:
- Removed Vitest dependencies from package.json:
- vitest, @vitest/ui, @vitest/coverage-v8, happy-dom
- Removed npm test scripts (now using deno.json tasks)
- Kept: rescript, @rescript/core, tailwindcss
- Kept @tauri-apps/cli temporarily (Cargo install failed)
Remaining for Task #3:
- Fix Tauri CLI installation (cargo install tauri-cli failed)
- Remove @tauri-apps/cli once Tauri CLI working
Benefits:
- No more Node.js/npm for testing
- Faster test execution (646ms vs ~2s with Vitest)
- Simpler test infrastructure
- Better alignment with hyperpolymath standards
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent b7e99cb commit aee2e8b
9 files changed
Lines changed: 517 additions & 564 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 9 | + | |
16 | 10 | | |
17 | 11 | | |
18 | 12 | | |
19 | 13 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 14 | | |
24 | | - | |
25 | | - | |
| 15 | + | |
26 | 16 | | |
27 | 17 | | |
28 | 18 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments