(reply: { ok?: boolean; status?: number; body: string })
| 30 | } |
| 31 | |
| 32 | function api(reply: { ok?: boolean; status?: number; body: string }): { api: AtlasApi; calls: FetchCall[] } { |
| 33 | const calls: FetchCall[] = []; |
| 34 | return { api: new AtlasApi({ base: 'http://127.0.0.1:9749', fetch: recordingFetch(reply, calls) }), calls }; |
| 35 | } |
| 36 | |
| 37 | describe('AtlasApi, the projects routes', () => { |
| 38 | it.each(['', 'http://127.0.0.1:9749'])('attributes failed requests to their decoded project with base %s', async (base) => { |
no test coverage detected