mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-10 12:20:07 +00:00
Add autocomplete mock to 38 @clack/prompts mock.module declarations that were missing it. Bun's mock.module is process-global, so when any other test file's mock wins the race, p.autocomplete was undefined, causing 17 cmd-interactive tests to fail non-deterministically. Also guard sandbox-verification tests with describe.skipIf(!isSandboxed) so the 8 meta-tests skip cleanly when running from repo root (where bunfig.toml preload is not active) instead of failing. Result: 6995 pass, 0 fail from cli/; 6978 pass, 0 fail, 17 skip from root. Agent: test-engineer Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| commands.ts | ||
| guidance-data.ts | ||
| history.ts | ||
| index.ts | ||
| manifest.ts | ||
| picker.ts | ||
| security.ts | ||
| unicode-detect.ts | ||
| update-check.ts | ||