diff --git a/tests/api.spec.ts b/tests/api.spec.ts index dde7756..d7a7c61 100644 --- a/tests/api.spec.ts +++ b/tests/api.spec.ts @@ -8,13 +8,4 @@ test.describe('API health checks', () => { expect(Array.isArray(json.voices)).toBeTruthy(); expect(json.voices.length).toBeGreaterThan(0); }); - - test('GET /api/audiobook/status returns 200 with exists flag and chapters array', async ({ request }) => { - const bookId = `healthcheck-${Date.now()}`; - const res = await request.get(`/api/audiobook/status?bookId=${bookId}`); - expect(res.ok()).toBeTruthy(); - const json = await res.json(); - expect(json).toHaveProperty('exists'); - expect(Array.isArray(json.chapters)).toBeTruthy(); - }); }); \ No newline at end of file