blob: 00b6e160e10192b0fc75757f19fb24684e55729d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
'use strict'
const nock = require('nock')
module.exports = tnock
function tnock (t, host) {
const server = nock(host)
t.tearDown(function () {
server.done()
})
return server
}
|