Skip to content

Commit 4093bff

Browse files
authored
fix(cli): set integrationTest to true in ExtensionHost constructor (#10826)
1 parent fdf32bd commit 4093bff

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/cli/src/agent/extension-host.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,10 @@ export class ExtensionHost extends EventEmitter implements ExtensionHostInterfac
152152
constructor(options: ExtensionHostOptions) {
153153
super()
154154

155-
this.options = options
155+
this.options = {
156+
...options,
157+
integrationTest: true, // Always set to true in CLI mode to allow tests to control console suppression
158+
}
156159

157160
// Set up quiet mode early, before any extension code runs.
158161
// This suppresses console output from the extension during load.

0 commit comments

Comments
 (0)