Skip to content

Commit a18305f

Browse files
committed
cleanup nock
1 parent 6724c07 commit a18305f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/index.spec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
const test = require('ava')
2+
const nock = require('nock')
23
const cache = require('../src/cache')
34
const { mock, getServer, registerPlugin } = require('./_helpers')
45
const fixtures = require('./_fixtures')
56

67
test.afterEach('reset instances and prototypes', () => {
78
cache.reset()
9+
nock.cleanAll()
810
})
911

1012
test.cb.serial('throw error if plugin gets registered twice', (t) => {

0 commit comments

Comments
 (0)