From 5b4192c8775b14ee5fa69d6a5ad75a47458c0566 Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Tue, 23 Feb 2021 18:21:54 -0500 Subject: [PATCH] fix(misc): fix removing the projects with jest configs (#4874) --- packages/workspace/src/generators/remove/remove.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/workspace/src/generators/remove/remove.ts b/packages/workspace/src/generators/remove/remove.ts index 8782f46519599..8684ccd58bdf7 100644 --- a/packages/workspace/src/generators/remove/remove.ts +++ b/packages/workspace/src/generators/remove/remove.ts @@ -17,10 +17,10 @@ export async function removeGenerator(tree: Tree, schema: Schema) { const project = readProjectConfiguration(tree, schema.projectName); checkDependencies(tree, schema); checkTargets(tree, schema); + updateJestConfig(tree, schema, project); removeProject(tree, project); removeProjectConfig(tree, schema); updateTsconfig(tree, schema, project); - updateJestConfig(tree, schema, project); if (!schema.skipFormat) { await formatFiles(tree); }