Skip to content

test: assert fail-open fetch via mock.calls - #13

Merged
samson910022 merged 1 commit into
mainfrom
fix/test-failopen-mock-calls
Sep 9, 2026
Merged

samson910022 merged 1 commit into
mainfrom
fix/test-failopen-mock-calls

Conversation

@samson910022

Copy link
Copy Markdown
Owner

Follow-up to #12: the no-undici fail-open test counted calls via a manual array but the jest.fn stub never pushed to it. Assert on mock.calls.length instead (verified working alongside the throwing undici mock).

@samson910022
samson910022 merged commit 80c2129 into main Sep 9, 2026
3 checks passed
@samson910022
samson910022 deleted the fix/test-failopen-mock-calls branch September 10, 2026 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant