Skip to content

Commit ff2f280

Browse files
authored
test: add coverage for repository invitation icon (#769)
1 parent 4e1d038 commit ff2f280

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/github-api.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ describe('./utils/github-api.ts', () => {
5252
'GitMergeIcon',
5353
);
5454
expect(getNotificationTypeIcon('Release').displayName).toBe('TagIcon');
55+
expect(getNotificationTypeIcon('RepositoryInvitation').displayName).toBe(
56+
'MailIcon',
57+
);
5558
expect(
5659
getNotificationTypeIcon('RepositoryVulnerabilityAlert').displayName,
5760
).toBe('AlertIcon');

0 commit comments

Comments
 (0)