Commit a1dbb8d
Fix vitest command execution in test scripts
Change test:unit scripts to use `pnpm vitest` instead of `vitest` to
ensure vitest is properly resolved from pnpm's dependency tree.
The `vitest` command alone was failing with "Command not found" error
when executed through dotenvx, even though vitest is in devDependencies.
Using `pnpm vitest` ensures the command runs through pnpm's shim system.
- Update test:unit to use `pnpm vitest run`
- Update test:unit:update to use `pnpm vitest run --update`
- Update test:unit:coverage to use `pnpm vitest run --coverage`
This allows test scripts to run successfully via `pnpm test` command.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 3e1ed58 commit a1dbb8d
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
79 | | - | |
80 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments