e2e(standalone): change startup script again

This commit is contained in:
Elian Doran
2026-04-19 17:55:00 +03:00
parent c0e01becb6
commit 735c1128e4
2 changed files with 4 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
"start-prod": "pnpm build && pnpm vite preview --port 8888",
"coverage": "vitest --coverage",
"e2e": "playwright test",
"start-prod-no-dir": "cross-env TRILIUM_INTEGRATION_TEST=memory pnpm build && pnpm vite preview --host 127.0.0.1"
"start-prod-no-dir": "pnpm build && pnpm vite preview --host 127.0.0.1"
},
"dependencies": {
"@excalidraw/excalidraw": "0.18.0",

View File

@@ -13,6 +13,9 @@ export default createBaseConfig({
webServer: !process.env.TRILIUM_DOCKER ? {
command: `pnpm start-prod-no-dir -- --port ${port}`,
url: baseURL,
env: {
TRILIUM_INTEGRATION_TEST: "memory"
},
reuseExistingServer: !process.env.CI,
cwd: __dirname,
timeout: 5 * 60 * 1000