Download api/test/jestSetup.js from Zhitomir/chat: direct link, hf CLI and curl.
- Browser
- Download file 293 Bytes
-
https://huggingface.co/spaces/Zhitomir/chat/resolve/main/api/test/jestSetup.js
- Command line
-
hf download hf://spaces/Zhitomir/chat/api/test/jestSetup.js
-
curl -L -o jestSetup.js https://huggingface.co/spaces/Zhitomir/chat/resolve/main/api/test/jestSetup.js
293 Bytes
| // See .env.test.example for an example of the '.env.test' file. | |
| require('dotenv').config({ path: './test/.env.test' }); | |
| process.env.MONGO_URI = 'mongodb://127.0.0.1:27017/dummy-uri'; | |
| process.env.BAN_VIOLATIONS = 'true'; | |
| process.env.BAN_DURATION = '7200000'; | |
| process.env.BAN_INTERVAL = '20'; | |