Skip to content

Commit

Permalink
Refactored src/components/OrgPeopleListCard/OrgPeopleListCard.test.tsx
Browse files Browse the repository at this point in the history
…#2814 (#2920)

* file name changed

* migration done
  • Loading branch information
Ramneet04 authored Dec 26, 2024
1 parent 13f16b9 commit 1475df0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { REMOVE_MEMBER_MUTATION } from 'GraphQl/Mutations/mutations';
import i18nForTest from 'utils/i18nForTest';
import { BrowserRouter } from 'react-router-dom';
import { StaticMockLink } from 'utils/StaticMockLink';

import { describe, test, expect, vi } from 'vitest';
const MOCKS = [
{
request: {
Expand Down Expand Up @@ -41,7 +41,7 @@ describe('Testing Organization People List Card', () => {
toggleRemoveModal: () => true,
id: '1',
};
global.alert = jest.fn();
global.alert = vi.fn();

test('should render props and text elements test for the page component', async () => {
global.confirm = (): boolean => true;
Expand Down

0 comments on commit 1475df0

Please sign in to comment.