MCPcopy
hub / github.com/eggjs/egg / httpclient.test.ts

File httpclient.test.ts

test/lib/core/httpclient.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { strict as assert } from 'node:assert';
2import { mm } from '@eggjs/mock';
3import { HttpClient } from 'urllib';
4import { HttpClient as ContextHttpClient } from '../../../src/lib/core/httpclient.js';

Callers

nothing calls this directly

Calls 6

startLocalServerFunction · 0.85
curlMethod · 0.65
closeMethod · 0.65
createHttpClientMethod · 0.65
requestMethod · 0.45
readyMethod · 0.45

Tested by

no test coverage detected