From ba6dbffca87131217bef6ed23e6c096a70d48e48 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 10 May 2026 00:08:58 +0100 Subject: [PATCH] test: tighten agents list assertions --- src/commands/agents.commands.list.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/agents.commands.list.test.ts b/src/commands/agents.commands.list.test.ts index 0b51e7b1aa44..d90f5e820af1 100644 --- a/src/commands/agents.commands.list.test.ts +++ b/src/commands/agents.commands.list.test.ts @@ -80,7 +80,7 @@ describe("agentsListCommand", () => { expect(buildProviderStatusIndexMock).not.toHaveBeenCalled(); const summary = (runtime.json[0] as Array>)[0]; - expect(summary).toMatchObject({ id: "main" }); + expect(summary?.id).toBe("main"); expect(summary).not.toHaveProperty("routes"); expect(summary).not.toHaveProperty("providers"); });