9 lines
283 B
JavaScript
9 lines
283 B
JavaScript
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")
|
|
process.env.ADMIN_SECRET = "test-admin-secret"
|
|
process.env.LOG_LEVEL = "silent"
|