mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 01:50:44 +00:00
test: tighten agent scope assertion
This commit is contained in:
@@ -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", () => {
|
||||
|
||||
Reference in New Issue
Block a user