mirror of
https://github.com/logto-io/logto.git
synced 2025-01-06 20:40:08 -05:00
08ce66f317
* refactor(core): use SSOT for env variables * fix(core): tests
12 lines
280 B
JavaScript
12 lines
280 B
JavaScript
/* eslint-disable unicorn/prefer-module */
|
|
/**
|
|
* Setup environment variables for unit test
|
|
*/
|
|
|
|
const { privateKeyPath } = require('./jest.global-setup.js');
|
|
|
|
process.env = {
|
|
...process.env,
|
|
OIDC_PRIVATE_KEY_PATH: privateKeyPath,
|
|
};
|
|
/* eslint-enable unicorn/prefer-module */
|