From b98e97210be6ed0b2cdb26fd34bd64ef4fbd646f Mon Sep 17 00:00:00 2001 From: Shakker Date: Tue, 12 May 2026 17:29:15 +0100 Subject: [PATCH] test: unhide raw config body --- ui/src/ui/views/config.browser.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/ui/views/config.browser.test.ts b/ui/src/ui/views/config.browser.test.ts index 3e292cd5d7d..f763522e931 100644 --- a/ui/src/ui/views/config.browser.test.ts +++ b/ui/src/ui/views/config.browser.test.ts @@ -579,7 +579,7 @@ describe("config view", () => { revealButton.click(); const textarea = queryRequired(container, "textarea", HTMLTextAreaElement); - expect(textarea.value).toContain("supersecret"); + expect(textarea.value).toBe('{\n "openai": { "apiKey": "supersecret" }\n}\n'); textarea.value = textarea.value.replace("supersecret", "updatedsecret"); textarea.dispatchEvent(new Event("input", { bubbles: true })); expect(onRawChange).toHaveBeenCalledWith(textarea.value);