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

feat: throw and suggest a URL polyfill for React Native #1520

Merged
merged 2 commits into from Jan 24, 2023

Conversation

kettanaito
Copy link
Member

Changes

  • Checks if the URL global class is not defined and throws a user-friendly error message in that case, suggesting to use a URL polyfill.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jan 17, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 584e017:

Sandbox Source
MSW React Configuration

@kettanaito kettanaito merged commit b4ac829 into main Jan 24, 2023
@kettanaito kettanaito deleted the feat/url-invariant branch January 24, 2023 15:27
@kettanaito
Copy link
Member Author

Released: v1.0.0 🎉

This has been released in v1.0.0!

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MSW listen() doesn't work on Expo React Native app
1 participant