Skip to content

Commit

Permalink
Refactor IconComponent from Jest to Vitest #2836 (#2919)
Browse files Browse the repository at this point in the history
  • Loading branch information
pranavnathe authored Dec 26, 2024
1 parent b9bc199 commit 9cdb9ea
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import IconComponent from './IconComponent';
import { describe, it, expect } from 'vitest';

const screenTestIdMap: Record<string, Record<string, string>> = {
MyOrganizations: {
Expand Down Expand Up @@ -83,6 +84,10 @@ const screenTestIdMap: Record<string, Record<string, string>> = {
name: 'My Pledges',
testId: 'Icon-Component-My-Pledges',
},
LeaveOrganization: {
name: 'Leave Organization',
testId: 'Icon-Component-Leave-Organization',
},
Volunteer: {
name: 'Volunteer',
testId: 'Icon-Component-Volunteer',
Expand Down

0 comments on commit 9cdb9ea

Please sign in to comment.