fix: sync package.json and fix test scripts
Run Tests on Branches / Detect Changes (push) Successful in 12s
Run Tests on Branches / Backend Tests (push) Successful in 1m58s
Run Tests on Branches / Frontend Tests (push) Successful in 1m38s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m35s
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped

- scraper: changed test script to echo (no tests)
- parapharmacy-api: added --passWithNoTests to jest
- frontend: changed vitest to vitest run (exit after tests)

All tests now pass:
- backend: 17 tests passed
- frontend: 7 tests passed
- parapharmacy-api: no tests (exits cleanly)
- scraper: no tests (exits cleanly)
This commit is contained in:
Antoni Nuñez Romeu
2026-07-16 17:31:05 +02:00
parent fa74a6e060
commit 8763f54071
4 changed files with 104 additions and 3 deletions
+1 -1
View File
@@ -9,7 +9,7 @@
"dev": "node --env-file-if-exists=.env --watch src/server.js",
"seed": "node --env-file-if-exists=.env scripts/seed.js",
"scrape": "node --env-file-if-exists=.env scripts/scrape-puppeteer.js",
"test": "NODE_OPTIONS='--experimental-vm-modules' npx jest --ci --forceExit --forceExitTimeout=30000"
"test": "NODE_OPTIONS='--experimental-vm-modules' npx jest --ci --forceExit --forceExitTimeout=30000 --passWithNoTests"
},
"dependencies": {
"cors": "^2.8.5",