Skip to content

Commit d4d97f3

Browse files
committed
test: add optimizedPromptFeatures to experiment configurations in tests
1 parent 61a1368 commit d4d97f3

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/shared/__tests__/experiments.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ describe("experiments", () => {
2828
const experiments: Record<ExperimentId, boolean> = {
2929
powerSteering: false,
3030
multiFileApplyDiff: false,
31+
optimizedPromptFeatures: false,
3132
}
3233
expect(Experiments.isEnabled(experiments, EXPERIMENT_IDS.POWER_STEERING)).toBe(false)
3334
})
@@ -36,6 +37,7 @@ describe("experiments", () => {
3637
const experiments: Record<ExperimentId, boolean> = {
3738
powerSteering: true,
3839
multiFileApplyDiff: false,
40+
optimizedPromptFeatures: false,
3941
}
4042
expect(Experiments.isEnabled(experiments, EXPERIMENT_IDS.POWER_STEERING)).toBe(true)
4143
})
@@ -44,6 +46,7 @@ describe("experiments", () => {
4446
const experiments: Record<ExperimentId, boolean> = {
4547
powerSteering: false,
4648
multiFileApplyDiff: false,
49+
optimizedPromptFeatures: false,
4750
}
4851
expect(Experiments.isEnabled(experiments, EXPERIMENT_IDS.POWER_STEERING)).toBe(false)
4952
})

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ describe("mergeExtensionState", () => {
225225
disableCompletionCommand: false,
226226
concurrentFileReads: true,
227227
multiFileApplyDiff: true,
228+
optimizedPromptFeatures: true,
228229
} as Record<ExperimentId, boolean>,
229230
}
230231

0 commit comments

Comments
 (0)