2020-05-14 16:12:30 +02:00
|
|
|
const { tmpdir } = require("os")
|
|
|
|
|
|
|
|
process.env.NODE_ENV = "jest"
|
|
|
|
process.env.JWT_SECRET = "test-jwtsecret"
|
|
|
|
process.env.CLIENT_ID = "test-client-id"
|
|
|
|
process.env.BUDIBASE_DIR = tmpdir("budibase-unittests")
|
2020-05-18 16:46:38 +02:00
|
|
|
process.env.ADMIN_SECRET = "test-admin-secret"
|
2020-05-29 15:06:25 +02:00
|
|
|
process.env.LOG_LEVEL = "silent"
|