Jordandevlog's picture
Upload nodejs/tests/setup.ts
34446b1 verified
Raw
History Blame Contribute Delete
228 Bytes
/**
* Test setup file — runs before each test file.
* @module testSetup
*/
import { beforeAll, afterAll } from 'vitest';
beforeAll(() => {
process.env.NODE_ENV = 'test';
});
afterAll(() => {
// Cleanup if needed
});