Skip to content

Commit 384b56c

Browse files
committed
chore: remove outdated experiment IDs from test mocks
Clean up ExtensionStateContext test to only use official experiments: - powerSteering, multiFileApplyDiff, preventFocusDisruption, imageGeneration, runSlashCommand Removed stale references: marketplace, disableCompletionCommand, concurrentFileReads, newTaskRequireTodos, nativeToolCalling, metadataDrivenSubtasks
1 parent 13fb44b commit 384b56c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -230,16 +230,10 @@ describe("mergeExtensionState", () => {
230230
apiConfiguration: { modelMaxThinkingTokens: 456, modelTemperature: 0.3 },
231231
experiments: {
232232
powerSteering: true,
233-
marketplace: false,
234-
disableCompletionCommand: false,
235-
concurrentFileReads: true,
236233
multiFileApplyDiff: true,
237234
preventFocusDisruption: false,
238-
newTaskRequireTodos: false,
239235
imageGeneration: false,
240236
runSlashCommand: false,
241-
nativeToolCalling: false,
242-
metadataDrivenSubtasks: false,
243237
} as Record<ExperimentId, boolean>,
244238
checkpointTimeout: DEFAULT_CHECKPOINT_TIMEOUT_SECONDS + 5,
245239
}
@@ -253,16 +247,10 @@ describe("mergeExtensionState", () => {
253247

254248
expect(result.experiments).toEqual({
255249
powerSteering: true,
256-
marketplace: false,
257-
disableCompletionCommand: false,
258-
concurrentFileReads: true,
259250
multiFileApplyDiff: true,
260251
preventFocusDisruption: false,
261-
newTaskRequireTodos: false,
262252
imageGeneration: false,
263253
runSlashCommand: false,
264-
nativeToolCalling: false,
265-
metadataDrivenSubtasks: false,
266254
})
267255
})
268256
})

0 commit comments

Comments
 (0)