MCPcopy Create free account
hub / github.com/Tatamo/atcoder-cli / addGetMockResponse

Method addGetMockResponse

tests/utils/session.ts:45–47  ·  view source on GitHub ↗
(url: string, response: MockResponse)

Source from the content-addressed store, hash-verified

43
44 // testing methods
45 addGetMockResponse(url: string, response: MockResponse): void {
46 this.getMockResponses.set(url, response);
47 }
48 addPostMockResponse(url: string, response: MockResponse): void {
49 this.postMockResponses.set(url, response);
50 }

Callers 4

addLoggedInCheckMockFunction · 0.80
addNonLoggedInCheckMockFunction · 0.80
addLoginPageMockFunction · 0.80
registerContetstPageMockFunction · 0.80

Calls 1

setMethod · 0.65

Tested by

no test coverage detected