Roo-Code/vitest-setup.ts
2025-05-18 00:31:07 -07:00

12 lines
286 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,
});
beforeEach(() => vi.clearAllMocks());