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

File mock-agent.js

test/mock-agent.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 15

setGlobalDispatcherFunction · 0.85
fetchFunction · 0.85
createServerFunction · 0.85
getResponseFunction · 0.85
interceptFunction · 0.85
okMethod · 0.80
getCallHistoryMethod · 0.80
persistMethod · 0.80
replyMethod · 0.80
callsMethod · 0.80
enableCallHistoryMethod · 0.80
disableCallHistoryMethod · 0.80

Tested by

no test coverage detected