diff options
Diffstat (limited to 'gui/src/main')
| -rw-r--r-- | gui/src/main/notification-controller.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/src/main/notification-controller.ts b/gui/src/main/notification-controller.ts index f5b7b631ad..c83fc11eff 100644 --- a/gui/src/main/notification-controller.ts +++ b/gui/src/main/notification-controller.ts @@ -51,7 +51,8 @@ export default class NotificationController { private dismissedNotifications: Set<SystemNotification> = new Set(); private throttledNotifications: Map<SystemNotification, Scheduler> = new Map(); - private notificationTitle = process.platform === 'linux' ? app.name : ''; + private notificationTitle = + process.platform === 'linux' && process.env.NODE_ENV !== 'test' ? app.name : ''; private notificationIcon?: NativeImage; constructor(private notificationControllerDelegate: NotificationControllerDelegate) { |
