fix(angular): format files after angular jest migration (#15779)

This commit is contained in:
Jason Jean 2023-03-20 17:38:53 -04:00 committed by GitHub
parent 7d9352eb1a
commit 9c7e67ba6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
import { import {
createProjectGraphAsync, createProjectGraphAsync,
formatFiles,
getProjects, getProjects,
joinPathFragments, joinPathFragments,
Tree, Tree,
@ -40,6 +41,8 @@ export async function updateTestingTsconfigForJest(tree: Tree) {
} }
} }
); );
await formatFiles(tree);
} }
function isJestPresetAngular(tree: Tree, jestConfigPath: string) { function isJestPresetAngular(tree: Tree, jestConfigPath: string) {