chore(nx): fix "Cannot read properties of undefined"

This commit is contained in:
Elian Doran 2025-05-01 16:28:06 +03:00
parent 3119169b2e
commit 42ea41b33e
No known key found for this signature in database

View File

@ -1,10 +1,10 @@
import { defineConfig, devices } from '@playwright/test'; import { defineConfig, devices } from '@playwright/test';
import { nxE2EPreset } from '@nx/playwright/preset'; import { nxE2EPreset } from '@nx/playwright/preset';
import { workspaceRoot } from '@nx/devkit'; import { workspaceRoot } from '@nx/devkit';
import path from 'path'; import { resolve } from 'path';
require('dotenv').config({ require('dotenv').config({
path: path.resolve(__dirname, ".env") path: resolve(__dirname, ".env")
}); });
// For CI, you may want to set BASE_URL to the deployed application. // For CI, you may want to set BASE_URL to the deployed application.