1
mirror of https://github.com/jakejarvis/hoot.git synced 2025-10-18 20:14:25 -04:00

Update screenshot tests to use VERCEL environment variable for local Puppeteer path

This commit is contained in:
2025-10-10 11:00:40 -04:00
parent 40f9b666ba
commit 0017e3fceb

View File

@@ -42,7 +42,7 @@ vi.mock("@/lib/image", () => ({
import { getOrCreateScreenshotBlobUrl } from "./screenshot";
beforeEach(() => {
process.env.VERCEL_ENV = ""; // force local puppeteer path in tests
process.env.VERCEL = "1"; // force sparticuz + puppeteer-core path in tests
});
afterEach(() => {