fix: route explicit vitest files through project runner (#88127)

This commit is contained in:
Dallin Romney
2026-05-29 20:38:52 -07:00
committed by GitHub
parent 1659b26151
commit 7de025eacd
7 changed files with 250 additions and 1 deletions

View File

@@ -75,7 +75,9 @@ OPENCLAW_VITEST_MAX_WORKERS=1 pnpm test <path-or-filter>
```
Use targeted file paths whenever possible. Avoid raw `vitest`; use the repo
`pnpm test` wrapper so project routing, workers, and setup stay correct.
`pnpm test` wrapper so project routing, workers, and setup stay correct. If raw
Vitest is unavoidable, use `vitest run ...`; bare `vitest ...` starts local watch
mode and will not exit on its own.
When the checkout is a Codex worktree, prefer the direct node harness instead:
```bash