unit tests fixin
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 1m43s
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 1m43s
This commit is contained in:
21
.env.test
Normal file
21
.env.test
Normal file
@@ -0,0 +1,21 @@
|
||||
# .env.test
|
||||
# Environment variables for the test environment.
|
||||
# This file is loaded by `tsx` when running the `npm run test:integration` command.
|
||||
|
||||
# --- Test Database Connection ---
|
||||
# IMPORTANT: These should point to your *test* database, not production.
|
||||
# These values will be used by the backend server when it starts for integration tests.
|
||||
DB_HOST=localhost
|
||||
DB_PORT=5432
|
||||
DB_USER=flyer_crawler_user
|
||||
DB_PASSWORD=WoA2kFtqqHdTLqdZsoCa
|
||||
DB_DATABASE=flyer-crawler-test
|
||||
DB_NAME=flyer-crawler-test
|
||||
|
||||
# --- Test JWT Secret ---
|
||||
JWT_SECRET=a-secure-secret-for-testing-only
|
||||
|
||||
# --- Other Test Variables ---
|
||||
# These can be dummy values if the feature is not being tested directly.
|
||||
FRONTEND_URL=http://localhost:3000
|
||||
GEMINI_API_KEY=dummy-api-key-for-testing
|
||||
Reference in New Issue
Block a user