test(hooks): cancel idle notification timer in input-needed test

This commit is contained in:
YeonGyu-Kim
2026-05-06 11:05:35 +09:00
parent 46f6fa407a
commit 4c426a53ba
@@ -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 },
},
},
})
})
})