GET one dashboard endpoint, as the signed-in page does.
(pathAndQuery: string)
| 165 | |
| 166 | /** GET one dashboard endpoint, as the signed-in page does. */ |
| 167 | async function api(pathAndQuery: string): Promise<Row> { |
| 168 | const result = await handleApi(env, new URL(`https://stats.test${pathAndQuery}`)); |
| 169 | expect(result.status ?? 200).toBe(200); |
| 170 | return result.body as Row; |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * One cron invocation at `iso`. `chunkMs` is the wall-clock time each legacy-usage |
no test coverage detected