test: tighten agent scope assertion

This commit is contained in:
Peter Steinberger
2026-05-09 13:31:47 +01:00
parent 9de1ccf5a4
commit 0cd121ff06

View File

@@ -574,7 +574,7 @@ describe("resolveAgentConfig", () => {
};
// Should normalize to "main" (default)
const result = resolveAgentConfig(cfg, "");
expect(result).toMatchObject({ workspace: "~/openclaw" });
expect(result?.workspace).toBe("~/openclaw");
});
it("uses OPENCLAW_HOME for default agent workspace", () => {