Skip to content

Commit 4c47945

Browse files
committed
Merge branch 'main' into refactor/fetch-issue-graphql
Signed-off-by: Adam Setch <[email protected]>
1 parent 361cdeb commit 4c47945

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/renderer/utils/notifications/handlers/issue.test.ts

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,15 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
413413
).displayName,
414414
).toBe('SkipIcon');
415415

416+
expect(
417+
issueHandler.iconType(
418+
createMockSubject({
419+
type: 'Issue',
420+
state: 'DUPLICATE',
421+
}),
422+
).displayName,
423+
).toBe('SkipIcon');
424+
416425
expect(
417426
issueHandler.iconType(
418427
createMockSubject({
@@ -448,12 +457,6 @@ describe('renderer/utils/notifications/handlers/issue.ts', () => {
448457
),
449458
).toBe(IconColor.PURPLE);
450459

451-
expect(
452-
issueHandler.iconColor(
453-
createMockSubject({ type: 'Issue', state: 'DRAFT' }),
454-
),
455-
).toBe(IconColor.GRAY);
456-
457460
expect(
458461
issueHandler.iconColor(
459462
createMockSubject({ type: 'Issue', state: 'NOT_PLANNED' }),

0 commit comments

Comments
 (0)