test: tighten agent empty config assertions

This commit is contained in:
Shakker
2026-05-09 03:46:33 +01:00
parent ddde7900d8
commit 8b20bc2f95
3 changed files with 3 additions and 3 deletions

View File

@@ -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?.();
});

View File

@@ -530,6 +530,6 @@ describe("loadEnabledBundlePiSettingsSnapshot", () => {
},
});
expect(snapshot).toEqual({});
expect(snapshot).toStrictEqual({});
});
});

View File

@@ -213,7 +213,7 @@ describe("cron tool", () => {
});
const params = expectSingleGatewayCallMethod("cron.status");
expect(params).toEqual({});
expect(params).toStrictEqual({});
expect(result.details).toEqual({ enabled: true });
});