Skip to content

Commit

Permalink
Refactor OrgDelete.test.tsx from Jest to Vitest #2812 (#2921)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavnathe authored Dec 26, 2024
1 parent b466e37 commit 7a4eac8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -14,7 +14,7 @@ const client: ApolloClient<NormalizedCacheObject> = 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(
<ApolloProvider client={client}>
<I18nextProvider i18n={i18nForTest}>
Expand Down

0 comments on commit 7a4eac8

Please sign in to comment.