Skip to content

Commit d003d7b

Browse files
authored
fix(ci): initialize ban env vars in jestSetup (#937)
1 parent 9f5296c commit d003d7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

api/test/jestSetup.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
11
// See .env.test.example for an example of the '.env.test' file.
22
require('dotenv').config({ path: './test/.env.test' });
3+
4+
process.env.BAN_VIOLATIONS = 'true';
5+
process.env.BAN_DURATION = '7200000';
6+
process.env.BAN_INTERVAL = '20';

0 commit comments

Comments
 (0)