diff --git a/src/components/MemberRequestCard/MemberRequestCard.test.tsx b/src/components/MemberRequestCard/MemberRequestCard.spec.tsx similarity index 97% rename from src/components/MemberRequestCard/MemberRequestCard.test.tsx rename to src/components/MemberRequestCard/MemberRequestCard.spec.tsx index a38a046ea2..5779d3688a 100644 --- a/src/components/MemberRequestCard/MemberRequestCard.test.tsx +++ b/src/components/MemberRequestCard/MemberRequestCard.spec.tsx @@ -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: 'johndoe@gmail.com', }; - 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;