mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-18 23:51:40 +00:00
Two tests (digitalocean-token, hetzner-cov) relied on sequential callCount to route mock fetch responses. Since Bun runs test files in the same process, concurrent tests sharing global.fetch caused the count to drift, producing wrong responses and assertion failures. Switch to URL-based and method-based routing so each mock returns the correct response regardless of interleaved calls from other test files. Agent: test-engineer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||