mirror of
https://github.com/jkingsman/Remote-Terminal-for-MeshCore.git
synced 2026-03-28 17:43:05 +01:00
Do build before e2e tests and bump timeout for build
This commit is contained in:
@@ -35,11 +35,12 @@ export default defineConfig({
|
||||
],
|
||||
|
||||
webServer: {
|
||||
command: 'uv run uvicorn app.main:app --host 127.0.0.1 --port 8000',
|
||||
command:
|
||||
'bash -c "if [ ! -d frontend/dist ]; then cd frontend && npm install && npm run build; fi; uv run uvicorn app.main:app --host 127.0.0.1 --port 8000"',
|
||||
cwd: projectRoot,
|
||||
port: 8000,
|
||||
reuseExistingServer: false,
|
||||
timeout: 30_000,
|
||||
timeout: 180_000,
|
||||
env: {
|
||||
MESHCORE_DATABASE_PATH: path.join(tmpDir, 'e2e-test.db'),
|
||||
// Pass through the serial port from the environment
|
||||
|
||||
Reference in New Issue
Block a user