mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(nx): fix "Cannot read properties of undefined"
This commit is contained in:
parent
3119169b2e
commit
42ea41b33e
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user