This is an unmaintained fork of superagent-nock. I made this fork to fix a
single issue in upstream, but a
PR fixing the isssue has been
merged and this repo is no longer necessary.
Please switch to using the upstream package
[superagent-nock](https://www.npmjs.com/package/superagent-nock)
superagent-nock
Very simple mock of superagent http requests for testing purpose (from Node.js
or the browser). Inspired by superagent-mocker, superagent-mock and nock.
Used for testing React components with Redux and Observable.
Usage
Setup
import request from 'superagent';import nocker from 'superagent-nock';const nock = nocker(request);