From f03d4c89ed3e5feda1599afeafac97530ef24bbb Mon Sep 17 00:00:00 2001 From: Pratap Rathi Date: Wed, 25 Dec 2024 17:27:47 +0530 Subject: [PATCH] Refactor: Migrated src/components/NotFound/NotFound.test.tsx from Jest to Vitest --- .../NotFound/{NotFound.test.tsx => NotFound.spec.tsx} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/components/NotFound/{NotFound.test.tsx => NotFound.spec.tsx} (94%) diff --git a/src/components/NotFound/NotFound.test.tsx b/src/components/NotFound/NotFound.spec.tsx similarity index 94% rename from src/components/NotFound/NotFound.test.tsx rename to src/components/NotFound/NotFound.spec.tsx index 54c0bcfe4a..a70e355f7a 100644 --- a/src/components/NotFound/NotFound.test.tsx +++ b/src/components/NotFound/NotFound.spec.tsx @@ -1,9 +1,9 @@ import React from 'react'; import { I18nextProvider } from 'react-i18next'; import i18nForTest from 'utils/i18nForTest'; - import { render, screen } from '@testing-library/react'; import NotFound from './NotFound'; +import { expect, it, describe } from 'vitest'; describe('Tesing the NotFound Component', () => { it('renders the component with the correct title for posts', () => {