Update Agent MCP redaction smoke test (#1566)

This commit is contained in:
Mohamed Boudra
2026-06-17 14:14:14 +08:00
committed by GitHub
parent a61118776a
commit 14743fa0b0

View File

@@ -312,6 +312,7 @@ describe("paseo daemon bootstrap", () => {
method: "POST",
headers: {
Authorization: "Bearer secret-debug-token",
Accept: "application/json, text/event-stream",
"Content-Type": "application/json",
},
body: JSON.stringify({
@@ -324,7 +325,7 @@ describe("paseo daemon bootstrap", () => {
}),
});
expect(response.status).toBe(400);
await response.text();
const logs = logLines.join("\n");
expect(logs).toContain("Agent MCP request");
expect(logs).toContain("[redacted]");