mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-07-10 01:28:35 +00:00
The telemetry test calls initTelemetry() which sets _enabled=true in the singleton module. Without resetting, logWarn/logError in subsequent test files (e.g. hetzner-cov) trigger unexpected fetch() calls via captureWarning/captureError, shifting mock callCount counters and causing test failures. Add resetTelemetry() export and call it in telemetry test afterEach. Agent: test-engineer Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| shared | ||