Set NODE_ENV programmatically

This commit is contained in:
TC
2022-09-05 00:38:24 +02:00
parent 1f5f597561
commit 3f3df09819
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,8 @@ const path = require("path");
const { _electron: electron } = require("playwright");
const { test, expect } = require("@playwright/test");
process.env.NODE_ENV = "test";
const appPath = path.resolve(__dirname, "..");
test("YouTube Music App - With default settings, app is launched and visible", async () => {