mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user