diff --git a/src/components/Pagination/Pagination.test.tsx b/src/components/Pagination/Pagination.spec.tsx similarity index 89% rename from src/components/Pagination/Pagination.test.tsx rename to src/components/Pagination/Pagination.spec.tsx index 40ac2ed19a..873f790565 100644 --- a/src/components/Pagination/Pagination.test.tsx +++ b/src/components/Pagination/Pagination.spec.tsx @@ -6,6 +6,7 @@ import { createTheme, ThemeProvider } from '@mui/material/styles'; import Pagination from './Pagination'; import { store } from 'state/store'; import userEvent from '@testing-library/user-event'; +import { describe, it } from 'vitest'; describe('Testing Pagination component', () => { const props = { @@ -17,7 +18,7 @@ describe('Testing Pagination component', () => { }, }; - test('Component should be rendered properly on rtl', async () => { + it('Component should be rendered properly on rtl', async () => { render( @@ -42,7 +43,7 @@ const props = { theme: { direction: 'rtl' }, }; -test('Component should be rendered properly', async () => { +it('Component should be rendered properly', async () => { const theme = createTheme({ direction: 'rtl', });