Update checked-in dependencies
This commit is contained in:
parent
99c9f6a498
commit
e266801e21
242 changed files with 2638 additions and 9296 deletions
5
node_modules/nock/README.md
generated
vendored
5
node_modules/nock/README.md
generated
vendored
|
|
@ -9,6 +9,9 @@
|
|||
[npmjs]: https://www.npmjs.com/package/nock
|
||||
[build]: https://travis-ci.org/nock/nock
|
||||
|
||||
> **Warning**
|
||||
> nock is currently not compatible with Node's experimental native `fetch` implementation. See [#2397](https://github.com/nock/nock/issues/2397)
|
||||
|
||||
HTTP server mocking and expectations library for Node.js
|
||||
|
||||
Nock can be used to test modules that perform HTTP requests in isolation.
|
||||
|
|
@ -1002,7 +1005,7 @@ const scope = nock('http://example.com')
|
|||
.reply(200, 'Persisting all the way')
|
||||
```
|
||||
|
||||
Note that while a persisted scope will always intercept the requests, it is considered "done" after the first interception.
|
||||
Note that while a persisted scope will always intercept the requests, it is considered "done" after the first interception, and they are pushed to the bottom of the stack after consumption.
|
||||
|
||||
If you want to stop persisting an individual persisted mock you can call `persist(false)`:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue