fix: add 60s timeout to all HEIF integration tests for CI

HEIF decoding via heif-convert is slow on CI runners (~15-30s per
image) and exceeds the default 30s Vitest timeout. Add explicit
60s timeouts to all 16 HEIF input tests across integration suite.
This commit is contained in:
SnapOtter
2026-05-01 14:50:03 +08:00
parent 64a8ab6944
commit e466c06cad
16 changed files with 56 additions and 46 deletions
+1 -1
View File
@@ -601,7 +601,7 @@ describe("Authentication", () => {
// ── HEIF input ─────────────────────────────────────────────────
describe("HEIF input", () => {
it("enhances HEIF (sample.heif) input", async () => {
it("enhances HEIF (sample.heif) input", { timeout: 60_000 }, async () => {
const HEIF = readFileSync(join(FIXTURES, "formats", "sample.heif"));
const res = await postTool({ mode: "auto" }, HEIF, "sample.heif", "image/heif");
expect([200, 422]).toContain(res.statusCode);