Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

test: make google citation fetch mocks hermetic against background primes

2 months ago

44d8b00
Authored
mweinbach7/6/2026, 5:28:43 PM
primeCitationReference fires un-awaited background resolutions that can
still be in flight when a later test installs its own fetch mock; the
stray call bumped the global fetch counter and failed the suite. Count
only this test's citation URLs (matched by path - the title fetch
arrives with a pinned IP hostname) and absorb unrelated requests.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Parentc06afaa

1 file changed
  • test/runtime/google-native/unit.stream.test.ts+20−2