Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 259 Bytes

File metadata and controls

10 lines (7 loc) · 259 Bytes

nock-json-recorder

Just a quick hack on the excellent Nock module that allows recorder outputs to be retrieved in JSON format.

var nock = require('nock-json-recorder');

nock.recorder.rec(true);
var responses = nock.recorder.playJson();