From 8dd63e92be14182566ed061737349f3b658cb63d Mon Sep 17 00:00:00 2001 From: Pratap Rathi Date: Thu, 26 Dec 2024 01:06:25 +0530 Subject: [PATCH] Refactor: Migrated src/components/NotFound/NotFound.test.tsx from Jest to Vitest (#2866) --- .../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', () => {