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:
@@ -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(() => {
|
||||
|
Reference in New Issue
Block a user