Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nodejs/undici
/ mock-interceptor.js
File
mock-interceptor.js
test/mock-interceptor.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
2
3
const
{ describe, test, after } = require(
'node:test'
)
4
const
{ MockInterceptor, MockScope } = require(
'../lib/mock/mock-interceptor'
)
Callers
nothing calls this directly
Calls
13
fetch
Function · 0.85
reply
Method · 0.80
ok
Method · 0.80
replyWithError
Method · 0.80
defaultReplyHeaders
Method · 0.80
defaultReplyTrailers
Method · 0.80
disableNetConnect
Method · 0.80
close
Method · 0.65
get
Method · 0.65
intercept
Method · 0.65
forEach
Method · 0.65
json
Method · 0.65
Tested by
no test coverage detected