chore: absolute dotenv path import (#123)
This commit is contained in:
Родитель
6182358918
Коммит
3b986a1faf
|
@ -5,7 +5,7 @@ const { defineConfig, devices } = require('@playwright/test');
|
|||
* Read environment variables from file.
|
||||
* https://github.com/motdotla/dotenv
|
||||
*/
|
||||
// require('dotenv').config();
|
||||
// require('dotenv').config({ path: path.resolve(__dirname, '.env') });
|
||||
|
||||
/**
|
||||
* @see https://playwright.dev/docs/test-configuration
|
||||
|
|
|
@ -4,7 +4,8 @@ import { defineConfig, devices } from '@playwright/test';
|
|||
* Read environment variables from file.
|
||||
* https://github.com/motdotla/dotenv
|
||||
*/
|
||||
// require('dotenv').config();
|
||||
// import dotenv from 'dotenv';
|
||||
// dotenv.config({ path: path.resolve(__dirname, '.env') });
|
||||
|
||||
/**
|
||||
* See https://playwright.dev/docs/test-configuration.
|
||||
|
|
Загрузка…
Ссылка в новой задаче