Update test-parameterize-js.md

Signed-off-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
Max Schmitt 2024-06-04 18:35:03 +02:00 committed by GitHub
parent 2d7bbe4d73
commit f714258337
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -216,8 +216,8 @@ import { defineConfig } from '@playwright/test';
import dotenv from 'dotenv';
import path from 'path';
// Read from default ".env" file.
dotenv.config();
// Read from ".env" file.
dotenv.config({ path: path.resolve(__dirname, '.env') });
// Alternatively, read from "../my.env" file.
dotenv.config({ path: path.resolve(__dirname, '..', 'my.env') });