nocobase/jest.setup.ts
2023-04-10 08:48:26 +08:00

5 lines
122 B
TypeScript

import dotenv from 'dotenv';
import path from 'path';
dotenv.config({ path: path.resolve(process.cwd(), '.env.test') });