From 1cb6daaa07227563c96408a2ccde9d82a07a0780 Mon Sep 17 00:00:00 2001 From: Kacper Date: Thu, 18 Dec 2025 13:34:58 +0100 Subject: [PATCH] fix: update permission mode in sdk-options test - Changed expected permission mode in sdk-options test from "acceptEdits" to "default" to align with recent updates in spec generation options. --- apps/server/tests/unit/lib/sdk-options.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/server/tests/unit/lib/sdk-options.test.ts b/apps/server/tests/unit/lib/sdk-options.test.ts index 4187dd08..dc802178 100644 --- a/apps/server/tests/unit/lib/sdk-options.test.ts +++ b/apps/server/tests/unit/lib/sdk-options.test.ts @@ -88,7 +88,7 @@ describe("sdk-options.ts", () => { expect(options.cwd).toBe("/test/path"); expect(options.maxTurns).toBe(MAX_TURNS.maximum); expect(options.allowedTools).toEqual([...TOOL_PRESETS.specGeneration]); - expect(options.permissionMode).toBe("acceptEdits"); + expect(options.permissionMode).toBe("default"); }); it("should include system prompt when provided", async () => {