Roo-Code/vitest-setup.ts
2025-05-06 15:10:41 -04: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';