-
-
Notifications
You must be signed in to change notification settings - Fork 517
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: print request body in onUnhandledRequest
message
#2227
Conversation
Happy to take suggestions for the formatting of the message. Played with a few formats although settled on this one 🫡 |
onUnhandledRequest
message
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for improving MSW, @bitttttten! 👏
I've pushed a few commits to polish this up. It's ready to be released!
onUnhandledRequest
messageonUnhandledRequest
message
I actually was using a local copy of msw where I already added the clone, so thanks so much for fixing and adding that! |
Released: v2.4.0 🎉This has been released in v2.4.0! Make sure to always update to the latest version ( Predictable release automation by @ossjs/release. |
I came to file a feature request very similar #2161 and thought I'd open a PR.
This will hopefully change this message:
[MSW] Warning: intercepted a request without a matching request handler: • POST https://graphql.staging.int.creativefabrica.com/query If you still wish to intercept this unhandled request, please create a request handler for it. Read more: https://mswjs.io/docs/getting-started/mocks
into