test: increase GIF conversion timeout to 120s on CI

WebP->GIF conversion is slow on GitHub Actions runners and
intermittently exceeds the 30s default. Match the AVIF timeout.
This commit is contained in:
SnapOtter
2026-06-08 15:49:47 +08:00
parent 9e345bf37f
commit 9f26f0d733
@@ -927,7 +927,7 @@ describe("Extended conversion targets (core formats)", () => {
if (fmt.name.toLowerCase() === target.format) continue;
if (fmt.name === "AVIF" && target.format === "avif") continue;
const testTimeout = target.format === "avif" ? 120_000 : 30_000;
const testTimeout = target.format === "avif" || target.format === "gif" ? 120_000 : 30_000;
it(`${fmt.name} -> ${target.format}`, { timeout: testTimeout }, async () => {
const res = await callTool("convert", fmt, { format: target.format });
if (!res) return;