fix(cli): set integrationTest to true in ExtensionHost constructor (#10826)

This commit is contained in:
Chris Estreich 2026-01-18 09:32:10 -08:00 committed by GitHub
parent fdf32bd55e
commit 4093bff3ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -152,7 +152,10 @@ export class ExtensionHost extends EventEmitter implements ExtensionHostInterfac
constructor(options: ExtensionHostOptions) {
super()
this.options = options
this.options = {
...options,
integrationTest: true, // Always set to true in CLI mode to allow tests to control console suppression
}
// Set up quiet mode early, before any extension code runs.
// This suppresses console output from the extension during load.