-
-
Notifications
You must be signed in to change notification settings - Fork 758
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update member request card jest to vitest (#2859)
- Loading branch information
1 parent
ba43121
commit ad6ca7c
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 = [ | ||
{ | ||
|
@@ -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; | ||
|