From c7d36ecbbd95b753cdfb7e592ad327c9929e2d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hartmut=20N=C3=B6renberg?= Date: Mon, 13 Apr 2026 05:24:07 +0200 Subject: [PATCH] test(application): extend ExcelJS read-workbook timeouts to 30s The 'rejects worksheets that exceed the row limit' test took 6599ms on the QNAP act_runner, overflowing the default 5000ms vitest timeout. Writing and parsing MAX_DISPO_WORKBOOK_ROWS+1 rows via ExcelJS is slow on constrained hardware. Extend timeout for all three writeWorkbook- dependent tests (row limit, column limit) to 30s, matching the fix already applied to excel.test.ts and workbook-export.test.ts. --- packages/application/src/__tests__/read-workbook.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/application/src/__tests__/read-workbook.test.ts b/packages/application/src/__tests__/read-workbook.test.ts index 6a546c2..b33b19f 100644 --- a/packages/application/src/__tests__/read-workbook.test.ts +++ b/packages/application/src/__tests__/read-workbook.test.ts @@ -123,7 +123,7 @@ describe("readWorksheetMatrix", () => { await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow( `exceeds the ${MAX_DISPO_WORKBOOK_ROWS} row import limit`, ); - }); + }, 30000); it("rejects worksheets that exceed the column limit", async () => { const directory = await makeTempDirectory(); @@ -135,5 +135,5 @@ describe("readWorksheetMatrix", () => { await expect(readWorksheetMatrix(workbookPath, "Sheet1")).rejects.toThrow( `exceeds the ${MAX_DISPO_WORKBOOK_COLUMNS} column import limit`, ); - }); + }, 30000); });