MCPcopy
hub / github.com/nodejs/undici / mock-client.js

File mock-client.js

test/mock-client.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1'use strict'
2
3const { test, after, describe } = require('node:test')
4const { createServer } = require('node:http')

Callers

nothing calls this directly

Calls 14

createServerFunction · 0.85
getGlobalDispatcherFunction · 0.85
setGlobalDispatcherFunction · 0.85
getResponseFunction · 0.85
okMethod · 0.80
replyMethod · 0.80
requestFunction · 0.70
closeMethod · 0.65
getMethod · 0.65
interceptMethod · 0.65
cleanMocksMethod · 0.65
dispatchMethod · 0.45

Tested by

no test coverage detected