From fccee9485cef83d532b8c44e2168c1e080afd31c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 13 May 2026 01:09:16 +0100 Subject: [PATCH] test: dedupe status service mock read --- src/commands/status.service-summary.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/status.service-summary.test.ts b/src/commands/status.service-summary.test.ts index 7d9348d6614..9bb98e5c9b7 100644 --- a/src/commands/status.service-summary.test.ts +++ b/src/commands/status.service-summary.test.ts @@ -17,7 +17,7 @@ function createService(overrides: Partial): GatewayService { } function requireMockArg(mock: { mock: { calls: unknown[][] } }, label: string): unknown { - const call = mock.mock.calls.at(0); + const call = mock.mock.calls[0]; if (!call) { throw new Error(`expected ${label} call`); }