From 8e5c4c401d29b01144942f89a3e129703a76db34 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Sun, 27 Jul 2025 15:58:22 +0000 Subject: [PATCH] fix: add maxReadFileTokens to test fixtures --- src/core/webview/__tests__/ClineProvider.spec.ts | 1 + webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/src/core/webview/__tests__/ClineProvider.spec.ts b/src/core/webview/__tests__/ClineProvider.spec.ts index 344b098816..2500cc6396 100644 --- a/src/core/webview/__tests__/ClineProvider.spec.ts +++ b/src/core/webview/__tests__/ClineProvider.spec.ts @@ -533,6 +533,7 @@ describe("ClineProvider", () => { showRooIgnoredFiles: true, renderContext: "sidebar", maxReadFileLine: 500, + maxReadFileTokens: 10000, cloudUserInfo: null, organizationAllowList: ORGANIZATION_ALLOW_ALL, autoCondenseContext: true, diff --git a/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx b/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx index 1e5867d3fc..e53000e8d2 100644 --- a/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx +++ b/webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx @@ -201,6 +201,7 @@ describe("mergeExtensionState", () => { showRooIgnoredFiles: true, renderContext: "sidebar", maxReadFileLine: 500, + maxReadFileTokens: 10000, cloudUserInfo: null, organizationAllowList: { allowAll: true, providers: {} }, autoCondenseContext: true,