Skip to content

Commit ac2914d

Browse files
Update packages/schematics/angular/migrations/migrate-karma-to-vitest/migration.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 2ae38c8 commit ac2914d

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)