test: npm test starts a throwaway Postgres when TEST_DATABASE_URL is unset

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EFUzfmHGGiYUjNcvJoyzdf
This commit is contained in:
ngqileandClaude Opus 5.5 committed 2026-12-01 11:56:11 +08:00
1 parent f78bd635a2
commit 20e07e9d80
4 files changed
+19 -3

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
},
"scripts": {
"start": "node server.js",
"test": "node --test"
"test": "scripts/test.sh"
},
"dependencies": {
"pg": "8.23.1"