mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
13 lines
271 B
TypeScript
13 lines
271 B
TypeScript
/**
|
|
* Setup environment variables for unit test
|
|
*/
|
|
|
|
import envSet from '@/env-set';
|
|
|
|
jest.mock('@/lib/logto-config');
|
|
jest.mock('@/env-set/check-alteration-state');
|
|
|
|
// eslint-disable-next-line unicorn/prefer-top-level-await
|
|
(async () => {
|
|
await envSet.load();
|
|
})();
|