From cfdbbb6e35010ace89fbe8243ee82fa4de143e10 Mon Sep 17 00:00:00 2001 From: "hermes-seaeye[bot]" <307254004+hermes-seaeye[bot]@users.noreply.github.com> Date: Thu, 10 Sep 2026 04:49:08 +0000 Subject: [PATCH] fmt(js): `npm run fix` on merge (#107102) Co-authored-by: github-actions[bot] --- apps/desktop/electron/notification-registry.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/desktop/electron/notification-registry.test.ts b/apps/desktop/electron/notification-registry.test.ts index 2bc6be591f..def8492228 100644 --- a/apps/desktop/electron/notification-registry.test.ts +++ b/apps/desktop/electron/notification-registry.test.ts @@ -28,9 +28,11 @@ it('retains a dismissed banner until its later click or action is consumed', () it('dismisses an expired notification before releasing it and releases failed delivery immediately', () => { vi.useFakeTimers() const registry = createNotificationRegistry({ ttlMs: 1000 }) + const notification = Object.assign(new EventEmitter(), { close: vi.fn(() => expect(registry.has(notification)).toBe(true)) }) + registry.retain(notification) vi.advanceTimersByTime(1000) expect(notification.close).toHaveBeenCalledOnce()