test: align jest db bootstrap with ci

This commit is contained in:
2025-10-16 23:01:29 -05:00
parent 8ca2756d7b
commit 2ad5946a4b
6 changed files with 46 additions and 22 deletions

View File

@@ -8,7 +8,7 @@ echo ">>> Running frontend lint locally"
(cd frontend && npm run lint)
echo ">>> Running backend test suite"
(cd backend && npm test -- --runInBand --coverage)
(USE_DOCKER_TEST_DB=${USE_DOCKER_TEST_DB:-true} cd backend && npm test -- --runInBand --coverage)
echo ">>> Running frontend test suite"
(cd frontend && npm test -- --watchAll=false --coverage)