update env vars for testing
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# Test DB URI. You can use your actual MONGO_URI if you don't mind it potentially including test data.
|
||||
MONGO_URI=mongodb://127.0.0.1:27017/chatgpt-jest
|
||||
MONGO_DB_NAME=librechat-test
|
||||
|
||||
# Credential encryption/decryption for testing
|
||||
CREDS_KEY=c3301ad2f69681295e022fb135e92787afb6ecfeaa012a10f8bb4ddf6b669e6d
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
require('dotenv').config({ path: './test/.env.test' });
|
||||
|
||||
process.env.MONGO_URI = 'mongodb://127.0.0.1:27017/dummy-uri';
|
||||
process.env.MONGO_DB_NAME = 'librechat-test'
|
||||
process.env.BAN_VIOLATIONS = 'true';
|
||||
process.env.BAN_DURATION = '7200000';
|
||||
process.env.BAN_INTERVAL = '20';
|
||||
|
||||
Reference in New Issue
Block a user