MCPcopy Index your code
hub / github.com/scriptscat/scriptcat / getMockNetworkResponse

Function getMockNetworkResponse

tests/mocks/response.ts:9–11  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

7};
8
9export const getMockNetworkResponse = (url: string) => {
10 return mockNetworkResponses.get(url);
11};
12
13export class MockResponse implements Response {
14 readonly ok: boolean;

Callers 1

fetch.tsFile · 0.90

Calls 1

getMethod · 0.65

Tested by

no test coverage detected