Skip to content

Commit d845c9e

Browse files
daniel-lxsclaude
andcommitted
fix: add missing maxReadFileLine property to test baseState
The ExtensionState type now requires maxReadFileLine property (added in commit 63e3f76). Update the test to include this property with the default value of -1 (unlimited reading). Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ef7720d commit d845c9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webview-ui/src/context/__tests__/ExtensionStateContext.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ describe("mergeExtensionState", () => {
291291
featureRoomoteControlEnabled: false,
292292
isBrowserSessionActive: false,
293293
checkpointTimeout: DEFAULT_CHECKPOINT_TIMEOUT_SECONDS,
294+
maxReadFileLine: -1,
294295
}
295296

296297
const makeMessage = (ts: number, text: string): ClineMessage =>

0 commit comments

Comments
 (0)