test: remove audiobook status API test
This commit is contained in:
parent
57ac17fb34
commit
53b225b976
1 changed files with 0 additions and 9 deletions
|
|
@ -8,13 +8,4 @@ test.describe('API health checks', () => {
|
||||||
expect(Array.isArray(json.voices)).toBeTruthy();
|
expect(Array.isArray(json.voices)).toBeTruthy();
|
||||||
expect(json.voices.length).toBeGreaterThan(0);
|
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();
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
Loading…
Reference in a new issue