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"); }