MCPcopy
hub / github.com/sjdonado/idonthavespotify / MockEntry

Interface MockEntry

tests/utils/http-mock.ts:7–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5type ReplyCallback = (config: { data: string }) => [number, unknown];
6
7interface MockEntry {
8 pattern: string | RegExp;
9 reply: [number, unknown] | ReplyCallback;
10}
11
12export class HttpMock {
13 private getMocks: MockEntry[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected