Skip to content

Commit

Permalink
jest to vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
MayankJha014 committed Jan 20, 2025
1 parent b3b2da5 commit b126ca5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ describe('Testing OrganizationCard Component [User Portal]', () => {
expect(toast.success).toHaveBeenCalledTimes(2);
});

test('Displays error when user is already a member', async () => {
it('Displays error when user is already a member', async () => {
const errorProps = { ...props, id: '3' }; // Using organizationId '3'

render(
Expand Down Expand Up @@ -408,7 +408,7 @@ describe('Testing OrganizationCard Component [User Portal]', () => {
});
});

test('Displays generic error when a different error occurs', async () => {
it('Displays generic error when a different error occurs', async () => {
const errorProps = { ...props, id: '4' }; // Using organizationId '4'

render(
Expand Down

0 comments on commit b126ca5

Please sign in to comment.