mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 23:10:42 +00:00
test: tighten agent empty config assertions
This commit is contained in:
@@ -36,7 +36,7 @@ describe("prepareCliBundleMcpConfig", () => {
|
||||
const raw = JSON.parse(await fs.readFile(generatedConfigPath as string, "utf-8")) as {
|
||||
mcpServers?: Record<string, unknown>;
|
||||
};
|
||||
expect(raw.mcpServers).toEqual({});
|
||||
expect(raw.mcpServers).toStrictEqual({});
|
||||
|
||||
await prepared.cleanup?.();
|
||||
});
|
||||
|
||||
@@ -530,6 +530,6 @@ describe("loadEnabledBundlePiSettingsSnapshot", () => {
|
||||
},
|
||||
});
|
||||
|
||||
expect(snapshot).toEqual({});
|
||||
expect(snapshot).toStrictEqual({});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -213,7 +213,7 @@ describe("cron tool", () => {
|
||||
});
|
||||
|
||||
const params = expectSingleGatewayCallMethod("cron.status");
|
||||
expect(params).toEqual({});
|
||||
expect(params).toStrictEqual({});
|
||||
expect(result.details).toEqual({ enabled: true });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user