mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
fix: add activeTerminalSessions to initial state in ExtensionStateContext and test mock
This commit is contained in:
parent
1071717537
commit
bb5ee6c0f2
2 changed files with 2 additions and 0 deletions
|
|
@ -587,6 +587,7 @@ describe("ClineProvider", () => {
|
|||
taskSyncEnabled: false,
|
||||
featureRoomoteControlEnabled: false,
|
||||
checkpointTimeout: DEFAULT_CHECKPOINT_TIMEOUT_SECONDS,
|
||||
activeTerminalSessions: 0,
|
||||
}
|
||||
|
||||
const message: ExtensionMessage = {
|
||||
|
|
|
|||
|
|
@ -270,6 +270,7 @@ export const ExtensionStateContextProvider: React.FC<{ children: React.ReactNode
|
|||
openRouterImageGenerationSelectedModel: "",
|
||||
includeCurrentTime: true,
|
||||
includeCurrentCost: true,
|
||||
activeTerminalSessions: 0,
|
||||
})
|
||||
|
||||
const [didHydrateState, setDidHydrateState] = useState(false)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue