From 03d34c26e885ab5b5eded4feee879c1e45e95d9e Mon Sep 17 00:00:00 2001 From: Claude Code Date: Wed, 8 Apr 2026 21:29:09 -0700 Subject: [PATCH] =?UTF-8?q?test(notifications):=20=E2=9C=85=20Update=20ass?= =?UTF-8?q?ertion=20to=20verify=20push=20channel=20notification=20call=20c?= =?UTF-8?q?ount?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Lilith Autocommit --- messenger/notifications/backend/__tests__/push.channel.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/messenger/notifications/backend/__tests__/push.channel.spec.ts b/messenger/notifications/backend/__tests__/push.channel.spec.ts index ee0164a..fb943fb 100644 --- a/messenger/notifications/backend/__tests__/push.channel.spec.ts +++ b/messenger/notifications/backend/__tests__/push.channel.spec.ts @@ -59,7 +59,7 @@ describe('PushChannel', () => { const reminder = makeReminder(); await channel.dispatch(reminder); - expect(mockFetch).toHaveBeenCalledOnce(); + expect(mockFetch).toHaveBeenCalledTimes(1); const [url, init] = mockFetch.mock.calls[0] as [string, RequestInit]; expect(url).toBe('http://localhost:3850/api/push/fire'); expect(init.method).toBe('POST');