perf(test): trim browser and models suite overhead

This commit is contained in:
Peter Steinberger
2026-02-14 00:38:49 +00:00
parent fdacfc571c
commit e7c3c27fd0
5 changed files with 123 additions and 556 deletions

View File

@@ -282,7 +282,7 @@ describe("web media loading", () => {
});
it("falls back to JPEG when PNG alpha cannot fit under cap", async () => {
const sizes = [256, 320, 448];
const sizes = [224, 256, 320];
let pngBuffer: Buffer | null = null;
let smallestPng: Awaited<ReturnType<typeof optimizeImageToPng>> | null = null;
let jpegOptimized: Awaited<ReturnType<typeof optimizeImageToJpeg>> | null = null;