Skip to content

Commit e702ab3

Browse files
itsdevdomalan-agius4
authored andcommitted
docs(@schematics/angular): reference vitest-base config in karma-to-vitest migration warning
1 parent 126b19b commit e702ab3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ export async function processKarmaConfig(
158158
context.logger.warn(
159159
`Project "${projectName}" uses a custom Karma configuration file "${karmaConfig}". ` +
160160
`Tests have been migrated to use Vitest, but you may need to manually migrate custom settings ` +
161-
`from this Karma config to a Vitest config (e.g. vitest.config.ts).`,
161+
`from this Karma config to a Vitest config (e.g. "vitest-base.config.ts") ` +
162+
`and set the "runnerConfig" option to true.`,
162163
);
163164
manualMigrationFiles.push(karmaConfig);
164165
}

0 commit comments

Comments
 (0)