Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nodejs/undici
/ mock-pool.js
File
mock-pool.js
test/mock-pool.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
2
3
const
{ test, after, describe } = require(
'node:test'
)
4
const
{ createServer } = require(
'node:http'
)
Callers
nothing calls this directly
Calls
15
createServer
Function · 0.85
setGlobalDispatcher
Function · 0.85
getResponse
Function · 0.85
getGlobalDispatcher
Function · 0.85
fetch
Function · 0.85
ok
Method · 0.80
reply
Method · 0.80
disableNetConnect
Method · 0.80
times
Method · 0.80
request
Function · 0.70
close
Method · 0.65
get
Method · 0.65
Tested by
no test coverage detected