test: remove audiobook status API test

This commit is contained in:
Richard R 2026-01-19 14:45:11 -07:00
parent 57ac17fb34
commit 53b225b976

View file

@ -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();
});
});