Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: does not warn on unhandled "file://" requests #1997

Merged
merged 4 commits into from
Jan 25, 2024

Conversation

kettanaito
Copy link
Member

Changes

  • MSW will no longer print an unhandled request warning for file:// requests that don't have a matching request handler.
  • MSW will still pass those request instances to the custom onUnhandledRequest option so the developer can react to them as they wish.

@kettanaito kettanaito merged commit 5afedb1 into main Jan 25, 2024
11 checks passed
@kettanaito kettanaito deleted the fix/not-warn-on-unhandled-file-requests branch January 25, 2024 11:35
@kettanaito
Copy link
Member Author

Released: v2.1.5 🎉

This has been released in v2.1.5!

Make sure to always update to the latest version (npm i msw@latest) to get the newest features and bug fixes.


Predictable release automation by @ossjs/release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vitest Remix testing warnings of missed file system requests and Network Error logs
1 participant