-
We are currently pointing our tests to a live server. We should just use nock to emulate some HTTP servers for the origin pull test.
-
Add [nock](https://github.com/node-nock/nock) to our tests to improve Signup and User tests.
Refs https://github.com/DoSomething/phoenix-js/pull/12
-
I tried yesterday to use nock for unit testing in a React/Redux/reqwest application and I was unable to make them work together. Later I had to replace reqwest with fecth. The details of the error can…
-
I was practising writing a test using nock and discovered an odd thing about the .get() part. It seems that for my test to pass, I had to end the API url portion of the line with a slash, but also had…
-
Use built-in Node APIs instead `rimraf`.
-
https://github.com/spring-media/jest-nock/blob/bfe7d53563109cf5db514491ebcf884c24bb0185/index.js#L146-L149
Why are nocked functions set as new `.nock` ones instead of replace the original ones? Thi…
-
### Please avoid duplicates
- [X] I checked [all open bugs](https://github.com/nock/nock.js/issues?q=is%3Aissue+is%3Aopen+label%3Abug) and none of them matched my problem.
### Reproducible test …
-
## Bug Report
It looks like in v8 of @octokit/requests, they switched from using Node's HTTP api, to using `fetch`. The latest published `nock` does not have support for `fetch`, so it does not catch…
-
-
**Context**
NodeJS has a new vertical http client named [undici](https://github.com/nodejs/undici) which is much more performant.
Nock does not mock responses for undici users.
**Alternatives**
…