Make sure __TESTS__ is defined when running tests

This commit is contained in:
Jonatan Heyman 2025-01-06 15:02:11 +01:00
parent 2b100398d7
commit 1bfcf5e2d2

View File

@ -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