LibreChat/api/test/jestSetup.js

6 lines
230 B
JavaScript

// See .env.test.example for an example of the '.env.test' file.
require('dotenv').config({ path: './test/.env.test' });
process.env.BAN_VIOLATIONS = 'true';
process.env.BAN_DURATION = '7200000';
process.env.BAN_INTERVAL = '20';