-
-
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
empty string vs "/" #1730
Comments
Hi! Yea, you're right, the second one is "correct" but it's strange that the first one basically does nothing. There are a few cases like It's not very helpful to silently ignore bad input. Would be great to improve our error messages around this (while being thoughtful about backward compatibility for legitimate use cases. Would you be interested in working on that? If not, no worries, we can leave this open. |
🎉 This issue has been resolved in version 11.5.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I wouldn't say its bug but maybe its a bit strange behaviour.
Compare two cases
The first one fails because got( https://www.npmjs.com/package/got) makes request to http://test.com/ while nock is watching connections to http://test.com. But shouldn't those be equal from nock perspective?
The text was updated successfully, but these errors were encountered: