mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 20:42:43 +00:00
The expired-nonce callback test asserted the global fetch spy was never called. A preceding successful-connection test fires its webhook subscriptions fire-and-forget, and those promises resolve into the next test's freshly installed spy, so the broad assertion failed whenever the background calls landed in time. Filter the recorded calls to the token endpoint and assert none reached it, matching the replay and cross-user tests in the same file and keeping the check true to its intent.