the beginning of the idiots
This commit is contained in:
11
qwen/nodejs/tests/setup.js
Normal file
11
qwen/nodejs/tests/setup.js
Normal file
@@ -0,0 +1,11 @@
|
||||
// tests/setup.js
|
||||
// Setup file for Jest tests
|
||||
|
||||
// Mock environment variables
|
||||
process.env.JWT_SECRET = 'test_secret';
|
||||
process.env.DB_HOST = 'localhost';
|
||||
process.env.DB_USER = 'test_user';
|
||||
process.env.DB_PASSWORD = 'test_password';
|
||||
process.env.DB_NAME = 'test_db';
|
||||
|
||||
console.log('Jest test environment setup complete');
|
||||
Reference in New Issue
Block a user