| 100 | }; |
| 101 | |
| 102 | interface 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 | |
| 112 | export const fakeServer = (basePath: string, snykToken: string): FakeServer => { |
| 113 | let requests: express.Request[] = []; |
nothing calls this directly
no outgoing calls
no test coverage detected