fix(ci): initialize ban env vars in jestSetup (#937)

This commit is contained in:
Danny Avila
2023-09-13 11:49:34 -04:00
committed by GitHub
parent 9f5296c1a4
commit d003d7b16e

View File

@@ -1,2 +1,6 @@
// 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';