diff --git a/packages/angular/plugins/component-testing.ts b/packages/angular/plugins/component-testing.ts index 8fcb8f0f71b6f..1bfd48e8e7546 100644 --- a/packages/angular/plugins/component-testing.ts +++ b/packages/angular/plugins/component-testing.ts @@ -322,7 +322,7 @@ function withSchemaDefaults(options: any): BrowserBuilderSchema { options.outputHashing ??= 'none'; options.progress ??= true; options.scripts ??= []; - options.main = options.main ??= options.browser; + options.main ??= options.browser; return options; }