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

add functionality use_mocks_only #42

Closed
wants to merge 1 commit into from
Closed

add functionality use_mocks_only #42

wants to merge 1 commit into from

Conversation

risentveber
Copy link

Add use mocks only functionality. When it is enabled and there is no such route it throws error.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 1b64871 on risentveber:use_mocks_only into e42c904 on A:master.

2 similar comments
@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 1b64871 on risentveber:use_mocks_only into e42c904 on A:master.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 100.0% when pulling 1b64871 on risentveber:use_mocks_only into e42c904 on A:master.

@A
Copy link
Owner

A commented Oct 30, 2016

LGTM 👍 @tbranyen could you take a look on it?

@maxkoryukov
Copy link
Contributor

@tbranyen , @A, it is really useful stuff, review plz

}, /Unmocked url/);
done();

mock.disableUseMocksOnly();
Copy link
Collaborator

@tbranyen tbranyen Jan 25, 2017

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.

@tbranyen
Copy link
Collaborator

Looks good to me, just left a comment about the clean up code.

@maxkoryukov
Copy link
Contributor

So we are just waiting for a fix from @risentveber ??

@tbranyen
Copy link
Collaborator

Looks like it, I'm a bit hesitant to merge in something that could break tests down the line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants