Skip to content

Commit 87f308d

Browse files
committed
dotenv config
1 parent d90568e commit 87f308d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

playwright.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
import path from "path"
2+
3+
import dotenv from "dotenv"
14
import type { ChromaticConfig } from "@chromatic-com/playwright"
25
import { defineConfig, devices } from "@playwright/test"
36

7+
dotenv.config({ path: path.resolve(__dirname, ".env.local") })
8+
49
export default defineConfig<ChromaticConfig>({
510
testDir: "./tests/e2e",
611
outputDir: "./tests/e2e/__results__",

0 commit comments

Comments
 (0)