diff --git a/src/utils/comms.test.ts b/src/utils/comms.test.ts index ddb957a99..8a5c5af83 100644 --- a/src/utils/comms.test.ts +++ b/src/utils/comms.test.ts @@ -10,7 +10,7 @@ const { ipcRenderer, shell } = require('electron'); const remote = require('@electron/remote'); describe('utils/comms.ts', () => { - beforeEach(function() { + beforeEach(function () { jest.spyOn(ipcRenderer, 'send'); }); diff --git a/src/utils/notifications.ts b/src/utils/notifications.ts index 7241cb714..40f9e80c1 100644 --- a/src/utils/notifications.ts +++ b/src/utils/notifications.ts @@ -68,8 +68,9 @@ export const raiseNativeNotification = ( if (notifications.length === 1) { const notification = notifications[0]; - title = `${process.platform !== 'win32' ? 'Gitify - ' : ''}${notification.repository.full_name - }`; + title = `${process.platform !== 'win32' ? 'Gitify - ' : ''}${ + notification.repository.full_name + }`; body = notification.subject.title; } else { title = 'Gitify'; @@ -81,7 +82,7 @@ export const raiseNativeNotification = ( silent: true, }); - nativeNotification.onclick = function() { + nativeNotification.onclick = function () { if (notifications.length === 1) { remote.getCurrentWindow().hide(); openInBrowser(notifications[0], accounts);