Skip to content

Commit 79620cf

Browse files
committed
fixup! fix(@schematics/angular): keep base test build options in per-configuration Karma migration
1 parent 2ae38c8 commit 79620cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/schematics/angular/migrations/migrate-karma-to-vitest

‎packages/schematics/angular/migrations/migrate-karma-to-vitest/migration.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ function updateProjects(tree: Tree, context: SchematicContext): Rule {
308308

309309
// A test configuration inherits the base test options, so its build configuration must
310310
// include the build options moved from them, with the configuration's own values on top.
311-
const mergedOptions = configKey
311+
const mergedOptions = configKey && customBuildOptions['']
312312
? { ...customBuildOptions[''], ...configOptions }
313313
: configOptions;
314314

0 commit comments

Comments
 (0)