mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-27 12:56:01 -06:00
test: tighten agents list assertions
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user