From ef78fc95345fabb85e066a2d37f1aa82be958fca Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 07:23:33 +0100 Subject: [PATCH] test: dedupe synology route mock read --- extensions/synology-chat/src/channel.integration.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/synology-chat/src/channel.integration.test.ts b/extensions/synology-chat/src/channel.integration.test.ts index 500f8b643ca..82ab3913372 100644 --- a/extensions/synology-chat/src/channel.integration.test.ts +++ b/extensions/synology-chat/src/channel.integration.test.ts @@ -87,7 +87,7 @@ describe("Synology channel wiring integration", () => { ); expect(registerPluginHttpRouteMock).toHaveBeenCalledTimes(1); - const firstCall = registerPluginHttpRouteMock.mock.calls.at(0); + const firstCall = registerPluginHttpRouteMock.mock.calls[0]; if (!firstCall) { throw new Error("Expected registerPluginHttpRoute to be called"); }