MCPcopy
hub / github.com/snyk/cli / EndpointConfig

Interface EndpointConfig

test/acceptance/fake-server.ts:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100};
101
102interface EndpointConfig {
103 responses: Record<string, unknown>[];
104 statusCodes: number[];
105 headers: Record<string, string>;
106 responseIndex: number;
107 statusCodeIndex: number;
108 isResponseArray: boolean;
109 isStatusCodeArray: boolean;
110}
111
112export const fakeServer = (basePath: string, snykToken: string): FakeServer => {
113 let requests: express.Request[] = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected