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

Fixes regression introduced by #719 #734

Merged
merged 2 commits into from
Oct 28, 2016
Merged

Fixes regression introduced by #719 #734

merged 2 commits into from
Oct 28, 2016

Conversation

RobertWHurst
Copy link
Contributor

@RobertWHurst RobertWHurst commented Oct 25, 2016

This adds a test for empty objects in the body and spec.

It also fixes a regression that would cause the library to throw an error if an empty object was passed in the body.

CC @vrinek

@coveralls
Copy link

coveralls commented Oct 25, 2016

Coverage Status

Coverage increased (+0.004%) to 96.585% when pulling a67fe14 on RobertWHurst:master into 2a1bc2d on node-nock:master.

@ltegman
Copy link
Contributor

ltegman commented Oct 25, 2016

Can't believe I missed this! Thanks for cleaning up after me and adding the test case for this regression 👍

@RobertWHurst
Copy link
Contributor Author

RobertWHurst commented Oct 25, 2016

@ltegman No problem! 🍻

@aredridel
Copy link

A fixed 9.0.x would be great :)

@RobertWHurst
Copy link
Contributor Author

@vrinek Any thoughts?

@vrinek
Copy link
Contributor

vrinek commented Oct 28, 2016

Thanks for the fix!

@vrinek vrinek merged commit 15b4d27 into nock:master Oct 28, 2016
vrinek added a commit that referenced this pull request Oct 28, 2016
Fixes regression introduced by #719
@vrinek
Copy link
Contributor

vrinek commented Oct 28, 2016

Just published in v8.2.1 & v9.0.1 🎉 /cc @aredridel

@aredridel
Copy link

Thank you so much! Tests pass for us with those!

@lock
Copy link

lock bot commented Sep 13, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue and add a reference to this one if it’s related. Thank you!

@lock lock bot locked as resolved and limited conversation to collaborators Sep 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants