fix: increase timeout for remaining AVIF conversion tests (#153)

Extends the 120s AVIF timeout fix to format-matrix-comprehensive and
format-matrix-expanded test files (Integration shard 4/4 failures).
This commit is contained in:
SnapOtter
2026-05-18 18:16:07 +08:00
committed by GitHub
parent 395b93214e
commit b571165315
2 changed files with 4 additions and 2 deletions
@@ -927,7 +927,8 @@ describe("Extended conversion targets (core formats)", () => {
if (fmt.name.toLowerCase() === target.format) continue;
if (fmt.name === "AVIF" && target.format === "avif") continue;
it(`${fmt.name} -> ${target.format}`, async () => {
const testTimeout = target.format === "avif" ? 120_000 : 30_000;
it(`${fmt.name} -> ${target.format}`, { timeout: testTimeout }, async () => {
const res = await callTool("convert", fmt, { format: target.format });
if (!res) return;
expect(res.statusCode).toBe(200);