MCPcopy
hub / github.com/nock/nock / reply

Method reply

types/index.d.ts:176–176  ·  view source on GitHub ↗
(
      replyFnWithCallback: (
        request: Request,
        callback: (
          err: NodeJS.ErrnoException | null,
          result: ReplyFnResult,
        ) => void,
      ) => void,
    )

Source from the content-addressed store, hash-verified

174 // the order of the overrides is important for determining the param types in the replay fns.
175 /* tslint:disable:unified-signatures */
176 reply(
177 replyFnWithCallback: (
178 request: Request,
179 callback: (

Callers 15

tests.tsFile · 0.65
defineFunction · 0.65
test_fetch.jsFile · 0.65
test_abort.jsFile · 0.65
test_socket.jsFile · 0.65
testNockFunction · 0.65
test_ipv6.jsFile · 0.65
test_destroy.jsFile · 0.65
test_undici.jsFile · 0.65

Implementers 1

Interceptorlib/interceptor.js

Calls

no outgoing calls

Tested by

no test coverage detected