From 4c426a53ba50d93fce26b312835846ade1d2e6e3 Mon Sep 17 00:00:00 2001 From: YeonGyu-Kim Date: Wed, 6 May 2026 11:05:35 +0900 Subject: [PATCH] test(hooks): cancel idle notification timer in input-needed test --- src/hooks/session-notification-input-needed.test.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/hooks/session-notification-input-needed.test.ts b/src/hooks/session-notification-input-needed.test.ts index f85d9154d..8cccb1918 100644 --- a/src/hooks/session-notification-input-needed.test.ts +++ b/src/hooks/session-notification-input-needed.test.ts @@ -139,6 +139,16 @@ describe("session-notification input-needed events", () => { expect(detectPlatformSpy).toHaveBeenCalledTimes(1) expect(getDefaultSoundPathSpy).toHaveBeenCalledTimes(1) expect(startBackgroundCheckSpy).toHaveBeenCalledTimes(1) + + // when + await hook({ + event: { + type: "session.deleted", + properties: { + info: { id: sessionID }, + }, + }, + }) }) })