spawn/packages
B ff56aed4a8 fix(tests): use URL-based mock routing to fix flaky tests
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>
2026-05-03 16:14:23 +00:00
..
cli fix(tests): use URL-based mock routing to fix flaky tests 2026-05-03 16:14:23 +00:00
shared fix: rethrow normalized Error in tryCatchIf/asyncTryCatchIf (#2930) 2026-03-23 19:33:05 -07:00