-
-
Notifications
You must be signed in to change notification settings - Fork 733
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: use typeof instead of instanceof #1850
Conversation
👋 this is a blocking issue for us as Nock isn't handling stream responses correctly as the |
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.
Let's link to the place where this was discussed.
Co-Authored-By: Paul Melnikow <github@paulmelnikow.com>
Thanks @paulmelnikow, lets ship it. |
Thanks for the report and the fix! |
🎉 This PR is included in version 11.7.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Fix a regression in 11.7.1 due to Jest having different globals: jestjs/jest#2549. Check functions using typeof instead of instanceof.
Fixes #1754 (comment)