Skip to content

Commit

Permalink
Update member request card jest to vitest (#2859)
Browse files Browse the repository at this point in the history
  • Loading branch information
mandeepnh5 authored Dec 25, 2024
1 parent ba43121 commit ad6ca7c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
import MemberRequestCard from './MemberRequestCard';
import i18nForTest from 'utils/i18nForTest';
import { StaticMockLink } from 'utils/StaticMockLink';
import { describe, vi, expect } from 'vitest';

const MOCKS = [
{
Expand Down Expand Up @@ -65,7 +66,7 @@ describe('Testing Member Request Card', () => {
email: '[email protected]',
};

global.alert = jest.fn();
global.alert = vi.fn();

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

0 comments on commit ad6ca7c

Please sign in to comment.