Dashboard › cli › pnpm test:unit runs generate:docs + gen…
019fbe51-8ac6-7cee-8007-c961dba11790| Project | Hits | Last recalled |
|---|---|---|
| opencode-lore | 2 | 2d ago |
Trap: pnpm test looks like the standard way to run tests. But test:unit = pnpm run generate:docs && pnpm run generate:sdk && vitest run test/lib test/commands test/types --coverage — the doc/SDK generation pre-steps cause 120s+ timeouts. Fix: run vitest directly on specific test files: npx vitest run test/lib/dif test/commands/debug-files (or similar scoped paths). Use pnpm test only for final pre-commit validation. test:init-eval is the only script without the preamble (uses --testTimeout 600000 instead).