Saas-Teamspace-2/vitest-setup.ts
2024-11-25 19:28:40 -05:00

14 lines
332 B
TypeScript

import '@testing-library/jest-dom/vitest';
import failOnConsole from 'vitest-fail-on-console';
failOnConsole({
shouldFailOnDebug: true,
shouldFailOnError: true,
shouldFailOnInfo: true,
shouldFailOnLog: true,
shouldFailOnWarn: true,
});
// Set up environment variables for testing
process.env.BILLING_PLAN_ENV = 'test';