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

[Fix 835] allowUnmocked for regex host and route #973

Merged
merged 2 commits into from
Sep 20, 2017
Merged

[Fix 835] allowUnmocked for regex host and route #973

merged 2 commits into from
Sep 20, 2017

Conversation

cmswalker
Copy link
Contributor

@cmswalker cmswalker commented Sep 19, 2017

First commit is a failing test for #965
Second Commit Fixes #835

@cmswalker cmswalker changed the title 835-added-fail-test-case 835-support-host-and-path-regex Sep 19, 2017
@cmswalker cmswalker changed the title 835-support-host-and-path-regex 835-allowUnmocked-for-regex Sep 19, 2017
@coveralls
Copy link

coveralls commented Sep 19, 2017

Coverage Status

Coverage increased (+0.02%) to 92.685% when pulling c75557a on cmswalker:835-allowUnmocked-for-regex into e911688 on node-nock:master.

@cmswalker cmswalker changed the title 835-allowUnmocked-for-regex [Fix 835] allowUnmocked-for-regex Sep 19, 2017
@cmswalker cmswalker changed the title [Fix 835] allowUnmocked-for-regex [Fix 835] allowUnmocked for regex host and route Sep 19, 2017
Copy link
Member

@gr2m gr2m left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great work 👏 Thanks a ton!

@gr2m gr2m merged commit 0bf9eb4 into nock:master Sep 20, 2017
return true;
}

if (!_.isUndefined(reqHeader) && !_.isUndefined(header)) {
if (reqHeader && header) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ooops that one should not have been changed :) Sorry my fault that it slipped, I’ll fix it in a follow up PR

@cmswalker
Copy link
Contributor Author

Strange. Linter must've been a little too opinionated on that one.

@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.

3 participants