Update test-parameterize-js.md
Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
2d7bbe4d73
commit
f714258337
|
|
@ -216,8 +216,8 @@ import { defineConfig } from '@playwright/test';
|
||||||
import dotenv from 'dotenv';
|
import dotenv from 'dotenv';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
// Read from default ".env" file.
|
// Read from ".env" file.
|
||||||
dotenv.config();
|
dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||||
|
|
||||||
// Alternatively, read from "../my.env" file.
|
// Alternatively, read from "../my.env" file.
|
||||||
dotenv.config({ path: path.resolve(__dirname, '..', 'my.env') });
|
dotenv.config({ path: path.resolve(__dirname, '..', 'my.env') });
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue