From a8d50879dfd6ad90f1871e2ae951a5afcbeb7461 Mon Sep 17 00:00:00 2001 From: can1357 Date: Sun, 31 May 2026 13:22:50 +0200 Subject: [PATCH] chore: reformat --- packages/coding-agent/test/acp-lazy-startup.test.ts | 1 - .../coding-agent/test/sdk-credential-disabled-bridge.test.ts | 1 - packages/coding-agent/test/tools/approval-mode.test.ts | 1 - 3 files changed, 3 deletions(-) diff --git a/packages/coding-agent/test/acp-lazy-startup.test.ts b/packages/coding-agent/test/acp-lazy-startup.test.ts index 531bb3350..8c55b996c 100644 --- a/packages/coding-agent/test/acp-lazy-startup.test.ts +++ b/packages/coding-agent/test/acp-lazy-startup.test.ts @@ -35,7 +35,6 @@ function emptyWorkspaceTree(cwd: string) { return { rootPath: cwd, rendered: ".\n", truncated: false, totalLines: 1, agentsMdFiles: [] }; } - class TestClient implements Client { readonly updates: SessionNotification[] = []; diff --git a/packages/coding-agent/test/sdk-credential-disabled-bridge.test.ts b/packages/coding-agent/test/sdk-credential-disabled-bridge.test.ts index ea5ddfabe..ade13ea49 100644 --- a/packages/coding-agent/test/sdk-credential-disabled-bridge.test.ts +++ b/packages/coding-agent/test/sdk-credential-disabled-bridge.test.ts @@ -22,7 +22,6 @@ function emptyWorkspaceTree(cwd: string) { return { rootPath: cwd, rendered: ".\n", truncated: false, totalLines: 1, agentsMdFiles: [] }; } - const expiredOAuth = () => ({ type: "oauth" as const, diff --git a/packages/coding-agent/test/tools/approval-mode.test.ts b/packages/coding-agent/test/tools/approval-mode.test.ts index 353536d41..9b0709881 100644 --- a/packages/coding-agent/test/tools/approval-mode.test.ts +++ b/packages/coding-agent/test/tools/approval-mode.test.ts @@ -19,7 +19,6 @@ function emptyWorkspaceTree(cwd: string) { return { rootPath: cwd, rendered: ".\n", truncated: false, totalLines: 1, agentsMdFiles: [] }; } - async function makeSession(extraSettings: Record = {}) { const tempDir = fs.mkdtempSync(path.join(os.tmpdir(), `pi-approval-mode-${Snowflake.next()}-`)); const cwd = path.join(tempDir, "cwd");