You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
n = nock('http://example.com').persist().get('/').reply(200, 'ok');
# .. do some tests ..
n.persist(false)
I can use nock.cleanAll, but I'm writing a library that fakes out a particular service using nock, and it seems rude for my library to rip out all interceptors, and not just the interceptors it installed..
The text was updated successfully, but these errors were encountered:
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!
lockbot
locked as resolved and limited conversation to collaborators
Sep 13, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can use
nock.cleanAll
, but I'm writing a library that fakes out a particular service using nock, and it seems rude for my library to rip out all interceptors, and not just the interceptors it installed..The text was updated successfully, but these errors were encountered: