test: tighten agents list assertions

This commit is contained in:
Peter Steinberger
2026-05-10 00:08:58 +01:00
parent 05dac1e127
commit ba6dbffca8
+1 -1
View File
@@ -80,7 +80,7 @@ describe("agentsListCommand", () => {
expect(buildProviderStatusIndexMock).not.toHaveBeenCalled();
const summary = (runtime.json[0] as Array<Record<string, unknown>>)[0];
expect(summary).toMatchObject({ id: "main" });
expect(summary?.id).toBe("main");
expect(summary).not.toHaveProperty("routes");
expect(summary).not.toHaveProperty("providers");
});