mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-11 13:51:41 +00:00
feat(onboarding)!: default tools profile to messaging
This commit is contained in:
@@ -141,9 +141,11 @@ describe("onboard (non-interactive): gateway and remote auth", () => {
|
||||
const cfg = await readJsonFile<{
|
||||
gateway?: { auth?: { mode?: string; token?: string } };
|
||||
agents?: { defaults?: { workspace?: string } };
|
||||
tools?: { profile?: string };
|
||||
}>(configPath);
|
||||
|
||||
expect(cfg?.agents?.defaults?.workspace).toBe(workspace);
|
||||
expect(cfg?.tools?.profile).toBe("messaging");
|
||||
expect(cfg?.gateway?.auth?.mode).toBe("token");
|
||||
expect(cfg?.gateway?.auth?.token).toBe(token);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user