You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError: fetch failed
cause: MockNotMatchedError: Mock dispatch not matched for headers '["accept","application/json","accept-language","*","sec-fetch-mode","cors","user-agent","undici","accept-encoding","br, gzip, deflate"]': subsequent request to origin https://example.com was not allowed (net.connect disabled)
Environment
Node 18.0.0
Additional context
Matching headers with a function works as expected.
The text was updated successfully, but these errors were encountered:
Bug Description
Intercepting upon individual headers when using
fetch
is broken in 5.1.0, worked fine in 5.0.0#1309 and possibly lack of test coverage for this is imho the likely suspect
Reproducible By
Expected Behavior
fetch gets matched intercepted
Logs & Screenshots
Environment
Node 18.0.0
Additional context
Matching headers with a function works as expected.
The text was updated successfully, but these errors were encountered: