fix: increase all HEIF/HEIC integration test timeouts to 120s for CI

The sharpening HEIF test was timing out at 60s in GitHub Actions.
Bumps all remaining HEIF/HEIC test timeouts from 60s to 120s across
14 integration test files for consistency with vectorize.
This commit is contained in:
SnapOtter
2026-05-01 19:05:51 +08:00
parent 66211ed6a7
commit 332c79f4ce
14 changed files with 17 additions and 17 deletions
+4 -4
View File
@@ -247,7 +247,7 @@ describe("Error handling", () => {
// ── HEIC input handling ─────────────────────────────────────────
describe("HEIC input", () => {
it("processes HEIC image with adaptive sharpening", async () => {
it("processes HEIC image with adaptive sharpening", { timeout: 120_000 }, async () => {
const HEIC = readFileSync(join(FIXTURES, "test-200x150.heic"));
const res = await postTool({ method: "adaptive" }, HEIC, "photo.heic", "image/heic");
expect(res.statusCode).toBe(200);
@@ -430,7 +430,7 @@ describe("Denoise off", () => {
// ── HEIC with unsharp-mask method ──────────────────────────────
describe("HEIC with different methods", () => {
it("processes HEIC with unsharp-mask", async () => {
it("processes HEIC with unsharp-mask", { timeout: 120_000 }, async () => {
const HEIC = readFileSync(join(FIXTURES, "test-200x150.heic"));
const res = await postTool(
{ method: "unsharp-mask", amount: 200 },
@@ -441,7 +441,7 @@ describe("HEIC with different methods", () => {
expect(res.statusCode).toBe(200);
});
it("processes HEIC with high-pass", async () => {
it("processes HEIC with high-pass", { timeout: 120_000 }, async () => {
const HEIC = readFileSync(join(FIXTURES, "test-200x150.heic"));
const res = await postTool(
{ method: "high-pass", strength: 60 },
@@ -466,7 +466,7 @@ describe("HEIF input", () => {
expect(res.statusCode).toBe(200);
const result = JSON.parse(res.body);
expect(result.downloadUrl).toBeDefined();
}, 60_000);
}, 120_000);
});
// ── Animated GIF input ──────────────────────────────────────────