(res: http.ServerResponse, message: string)
| 233 | } |
| 234 | |
| 235 | function handleNotFound(res: http.ServerResponse, message: string): void { |
| 236 | setCorsHeaders(res); |
| 237 | writeErrorResponse(res, 404, JSON.stringify({ error: { message, type: "not_found" } })); |
| 238 | } |
| 239 | |
| 240 | // --------------------------------------------------------------------------- |
| 241 | // /__aimock/* control API — used by aimock-pytest and other test harnesses |
no test coverage detected
searching dependent graphs…