Skip to content

Commit

Permalink
migrated src/components/TableLoader/TableLoader.test.tsx to vitest: (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
syedali237 authored Jan 5, 2025
1 parent 4548d9d commit 574fd60
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import { BrowserRouter } from 'react-router-dom';

import type { InterfaceTableLoader } from './TableLoader';
import TableLoader from './TableLoader';
import { vi } from 'vitest';

beforeAll(() => {
console.error = jest.fn();
console.error = vi.fn();
});

describe('Testing Loader component', () => {
Expand Down

0 comments on commit 574fd60

Please sign in to comment.