feat: Update API versioning and parser handling for improved schedule updates and error management
This commit is contained in:
@@ -99,6 +99,7 @@ test("API: ошибки с машиночитаемым кодом", async () =>
|
||||
|
||||
test("API: исходный документ, сбой и таймаут университета", async () => {
|
||||
const catalog = (await json("/api/catalog")).body;
|
||||
assert.equal(typeof catalog.parserVersion, "number");
|
||||
const id = (name) => catalog.files.find((f) => f.name === name).id;
|
||||
const original = await get(`/api/original/${id("23-ЛГ_23-БА.docx")}`);
|
||||
assert.equal(original.status, 200);
|
||||
|
||||
Reference in New Issue
Block a user