From 7a4eac87c8bfcbd540ceb580311d114f2c77b8d0 Mon Sep 17 00:00:00 2001 From: Pranav Nathe <93403830+pranavnathe@users.noreply.github.com> Date: Thu, 26 Dec 2024 17:56:57 +0530 Subject: [PATCH] Refactor OrgDelete.test.tsx from Jest to Vitest #2812 (#2921) --- .../OrgDelete/{OrgDelete.test.tsx => OrgDelete.spec.tsx} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename src/components/OrgDelete/{OrgDelete.test.tsx => OrgDelete.spec.tsx} (86%) diff --git a/src/components/OrgDelete/OrgDelete.test.tsx b/src/components/OrgDelete/OrgDelete.spec.tsx similarity index 86% rename from src/components/OrgDelete/OrgDelete.test.tsx rename to src/components/OrgDelete/OrgDelete.spec.tsx index b9b9ca2572..23f8dcdde5 100644 --- a/src/components/OrgDelete/OrgDelete.test.tsx +++ b/src/components/OrgDelete/OrgDelete.spec.tsx @@ -3,7 +3,7 @@ import { render, screen } from '@testing-library/react'; import type { NormalizedCacheObject } from '@apollo/client'; import { ApolloClient, ApolloProvider, InMemoryCache } from '@apollo/client'; import { I18nextProvider } from 'react-i18next'; - +import { describe, it, expect } from 'vitest'; import OrgDelete from './OrgDelete'; import i18nForTest from 'utils/i18nForTest'; import { BACKEND_URL } from 'Constant/constant'; @@ -14,7 +14,7 @@ const client: ApolloClient = new ApolloClient({ }); describe('Testing Organization People List Card', () => { - test('should render props and text elements test for the page component', () => { + it('should render props and text elements test for the page component', () => { render(