Skip to content

Commit 6c183f5

Browse files
committed
fix: remove dotenv dependency and update environment loading in Playwright config
1 parent ea5a3e3 commit 6c183f5

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
"@semantic-release/npm": "13.1.5",
118118
"@semantic-release/release-notes-generator": "14.1.1",
119119
"@squonk/eslint-config": "3.1.0",
120-
"dotenv": "16.6.1",
121120
"eslint": "10.4.0",
122121
"husky": "9.1.7",
123122
"identity-obj-proxy": "3.0.0",

playwright.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { defineConfig } from "@playwright/test";
22
import path from "node:path";
33

4-
require("dotenv").config({ path: path.resolve(process.cwd(), ".env.test.local") });
4+
process.loadEnvFile(path.resolve(__dirname, ".env.test.local"));
55

66
const baseURL = new URL(process.env.BASE_URL as string);
77
baseURL.pathname = process.env.BASE_PATH ?? "/";

pnpm-lock.yaml

Lines changed: 2 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)