(path: string)
| 17 | } |
| 18 | |
| 19 | async function read(path: string) { |
| 20 | const response = await SELF.fetch(`https://example.test/read?path=${encodeURIComponent(path)}`); |
| 21 | expect(response.status).toBe(200); |
| 22 | return response.text(); |
| 23 | } |
| 24 | |
| 25 | async function runtime(body: Record<string, unknown>) { |
| 26 | return SELF.fetch("https://example.test/runtime", { |
no test coverage detected