From 646b9db6b0e46e9c1204e0dbdfeade99638e0d4b Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 15 Feb 2024 13:10:56 -0500 Subject: [PATCH] test: add coverage for repository invitation icon --- src/utils/github-api.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils/github-api.test.ts b/src/utils/github-api.test.ts index 73a7ef442..c229d0f98 100644 --- a/src/utils/github-api.test.ts +++ b/src/utils/github-api.test.ts @@ -31,6 +31,9 @@ describe('./utils/github-api.ts', () => { 'GitPullRequestIcon', ); expect(getNotificationTypeIcon('Release').displayName).toBe('TagIcon'); + expect(getNotificationTypeIcon('RepositoryInvitation').displayName).toBe( + 'MailIcon', + ); expect( getNotificationTypeIcon('RepositoryVulnerabilityAlert').displayName, ).toBe('AlertIcon');