-
-
Notifications
You must be signed in to change notification settings - Fork 738
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: nock.removeInterceptor
can remove the wrong Intercept
#2497
Conversation
I'll add a proper test if you accept the general solution.
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.
change looks good, thank you for opening the PR. As long as no other tests are failing and you add a test case for this change, we are good to go. Bonus points if you could push the test changes first to show the CI is failing, and then push your fix to make it green again, that really helps to review pull requests more quickly
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, this is great 👍🏼
nock.removeInterceptor
can remove the wrong Intercept
🎉 This PR is included in version 13.3.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
If you agree with the general solution, I'll add a proper test and fix the current tests.
Fix #2418