MCPcopy
hub / github.com/nodejs/undici / Interceptable

Interface Interceptable

types/mock-interceptor.d.ts:83–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83interface Interceptable extends Dispatcher {
84 /** Intercepts any matching requests that use the same origin as this mock client. */
85 intercept(options: MockInterceptor.Options): MockInterceptor;
86 /** Clean up all the prepared mocks. */
87 cleanMocks (): void
88}
89
90export {
91 Interceptable,

Callers 12

issue-1757.jsFile · 0.65
issue-2078.jsFile · 0.65
factoryFunction · 0.65
mock-pool.jsFile · 0.65
mock-client.jsFile · 0.65

Implementers 4

MockPooltypes/mock-pool.d.ts
MockClienttypes/mock-client.d.ts
MockPoollib/mock/mock-pool.js
MockClientlib/mock/mock-client.js

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…