nock-hook
Convinient wrapper around Nock for HTTP testing
Install
$ npm install nock-hook --save-dev
Examples
mocha
'use strict'; const assert = ;const nockHook = ; const got = ; ;
ava
- All tests should be serial
;; ; test;
ava
with helper
- All tests should be serial
- Automatically setup function name
;; ; test; testafterEach; test;
License
MIT © ewnd9