MCPcopy
hub / github.com/nock/nock / nockDone

Function nockDone

lib/back.js:68–70  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 const context = _mode.start(fixture, options)
67
68 const nockDone = function () {
69 _mode.finish(fixture, options, context)
70 }
71
72 debug('context:', context)
73 // If nockedFn is a function then invoke it, otherwise return a promise resolving to nockDone.

Callers 5

tests.tsFile · 0.85
test_fetch.jsFile · 0.85
nockBackWithFixtureFunction · 0.85
test_back.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…