Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
9
export
const
getMockNetworkResponse = (url: string) => {
10
return
mockNetworkResponses.get(url);
11
};
12
13
export
class
MockResponse implements Response {
14
readonly ok: boolean;
Callers
1
fetch.ts
File · 0.90
Calls
1
get
Method · 0.65
Tested by
no test coverage detected