-
Notifications
You must be signed in to change notification settings - Fork 26
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
Update documentation for adding quibbble.reset()
#25
Comments
Thanks for sharing this! I'm sorry but other than the broad strokes of what you're saying happened, I don't think I understand the issue. Is there a way to reproduce the failure or explain the fix more concretely? I want to be sure I understand the root cause before updating the docs |
The service is on node v.8
and the module we are testing is setup like this:
With the test, I just wanted to verify that it was returning the correct header, so I had to stub out the package.json file. Using that file to pull in the version of the cli tool. When I didn't have |
A-ha! I see now. And all our readme does is say:
My apologies. We only use quibble in the context of https://github.com/testdouble/testdouble.js Yeah, I'd welcome an update to the README that said this. Thank you! |
Oh I see! I'll make a PR for an update in the quibble readme! Thanks for getting back to me on this! |
Hey @searls !
Finally got a chance to use your library. I was writing a test for one of my functions in my company's CLI. I used quibble to help me stub out a module and it worked as planned (Thanks a million) However when I tried executing a full test and lint through the project it, I received this error:
The test runs this command
tape test/*.test.js && eslint *.js */*.js test/*/*.js
. My colleague @whyvez had encountered the same issue but was able to comb through the code to find the resolution. It wasquibble.restore()
. I didn't come across in this documentation. Is it possible if we can update the readme.md with that line to help the next user?The text was updated successfully, but these errors were encountered: