Closed j0hnsmith closed 7 years ago
readme.md says to unmock with mock.unmock(), actually it's mock.unmock(superagent).
mock.unmock()
mock.unmock(superagent)
https://github.com/A/superagent-mocker/blob/bc51d1e446ea1c9fac0f4aa46ed5ca622442f130/index.js#L170
@j0hnsmith if you'd like to create a PR to fix that in the Readme, we will gladly accept it and merge it in :)
@kmudrick done
readme.md says to unmock with
mock.unmock()
, actually it'smock.unmock(superagent)
.https://github.com/A/superagent-mocker/blob/bc51d1e446ea1c9fac0f4aa46ed5ca622442f130/index.js#L170