(body: unknown)
| 2 | import { triagePost } from './api.sandbox-triage' |
| 3 | |
| 4 | function post(body: unknown): Promise<Response> { |
| 5 | return triagePost( |
| 6 | new Request('http://localhost/api/sandbox-triage', { |
| 7 | method: 'POST', |
| 8 | headers: { 'content-type': 'application/json' }, |
| 9 | body: JSON.stringify(body), |
| 10 | }), |
| 11 | ) |
| 12 | } |
| 13 | |
| 14 | afterEach(() => { |
| 15 | delete process.env.ANTHROPIC_API_KEY |
no test coverage detected