Skip to content

Commit b310a40

Browse files
committed
refactor: remove orphaned test
Signed-off-by: Adam Setch <[email protected]>
1 parent 0f33800 commit b310a40

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

src/renderer/components/notifications/NotificationRow.test.tsx

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -134,31 +134,6 @@ describe('renderer/components/notifications/NotificationRow.tsx', () => {
134134
expect(markNotificationsAsRead).toHaveBeenCalledTimes(1);
135135
});
136136

137-
it('should open a notification in the browser - key down', () => {
138-
const markNotificationsAsRead = jest.fn();
139-
140-
const props = {
141-
notification: mockSingleNotification,
142-
account: mockGitHubCloudAccount,
143-
};
144-
145-
render(
146-
<AppContext.Provider
147-
value={{
148-
settings: { ...mockSettings, markAsDoneOnOpen: false },
149-
markNotificationsAsRead,
150-
auth: mockAuth,
151-
}}
152-
>
153-
<NotificationRow {...props} />
154-
</AppContext.Provider>,
155-
);
156-
157-
fireEvent.click(screen.getByTestId('notification-row'));
158-
expect(links.openNotification).toHaveBeenCalledTimes(1);
159-
expect(markNotificationsAsRead).toHaveBeenCalledTimes(1);
160-
});
161-
162137
it('should open a notification in browser & mark it as done', () => {
163138
const markNotificationsAsDone = jest.fn();
164139

0 commit comments

Comments
 (0)