test: align jest db bootstrap with ci
This commit is contained in:
@@ -150,7 +150,7 @@ The application comes with pre-seeded demo accounts:
|
||||
|
||||
### Quality Gates & Tests
|
||||
|
||||
`npm run lint` and `npm test` must pass in both the backend and frontend. The backend Jest suite bootstraps a disposable Postgres instance via Docker (using `docker-compose.test.yml`), so Docker must be available on your workstation.
|
||||
`npm run lint` and `npm test` must pass in both the backend and frontend. By default, the backend Jest suite bootstraps a disposable Postgres instance via Docker (using `docker-compose.test.yml`), so Docker must be available on your workstation. To point the tests at an existing database (e.g., CI runners), set `USE_DOCKER_TEST_DB=false` and supply `DATABASE_URL`/`POSTGRES_*`.
|
||||
|
||||
Quick commands:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user