From 1bfcf5e2d2432b5414638647031f0abfc459115a Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Mon, 6 Jan 2025 15:02:11 +0100 Subject: [PATCH] Make sure __TESTS__ is defined when running tests --- playwright.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playwright.config.ts b/playwright.config.ts index f4ea00d..51c2243 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -1,5 +1,7 @@ import { defineConfig, devices } from '@playwright/test'; +process.env["HEYNOTE_TESTS"] = "1" + /** * Read environment variables from file. * https://github.com/motdotla/dotenv