-
Notifications
You must be signed in to change notification settings - Fork 32
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
add functionality use_mocks_only #42
Conversation
2 similar comments
LGTM 👍 @tbranyen could you take a look on it? |
}, /Unmocked url/); | ||
done(); | ||
|
||
mock.disableUseMocksOnly(); |
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.
Shouldn't the clean up code happen before we call done()
? My assumption was that once done()
was called, the next test starts running.
Looks good to me, just left a comment about the clean up code. |
So we are just waiting for a fix from @risentveber ?? |
Looks like it, I'm a bit hesitant to merge in something that could break tests down the line. |
Add use mocks only functionality. When it is enabled and there is no such route it throws error.