From 5218e37e2e69a0418ea19d1dc985faec824f6c2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leosvel=20P=C3=A9rez=20Espinosa?= Date: Thu, 17 Aug 2023 16:44:27 +0100 Subject: [PATCH] chore(react): fix unit tests --- .../devkit/src/generators/project-name-and-root-utils.spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/devkit/src/generators/project-name-and-root-utils.spec.ts b/packages/devkit/src/generators/project-name-and-root-utils.spec.ts index 143dbedc493f7e..5741eeb450b1e1 100644 --- a/packages/devkit/src/generators/project-name-and-root-utils.spec.ts +++ b/packages/devkit/src/generators/project-name-and-root-utils.spec.ts @@ -70,6 +70,7 @@ describe('determineProjectNameAndRootOptions', () => { }, importPath: '@proj/lib-name', projectRoot: 'shared/lib-name', + projectNameAndRootFormat: 'as-provided', }); }); @@ -276,6 +277,7 @@ describe('determineProjectNameAndRootOptions', () => { }, importPath: '@proj/shared/sub-dir/lib-name', projectRoot: 'shared/sub-dir/lib-name', + projectNameAndRootFormat: 'derived', }); }); @@ -383,6 +385,7 @@ describe('determineProjectNameAndRootOptions', () => { }, importPath: '@proj/lib-name', projectRoot: 'shared/lib-name', + projectNameAndRootFormat: 'as-provided', }); }); @@ -539,6 +542,7 @@ describe('determineProjectNameAndRootOptions', () => { }, importPath: '@proj/shared/sub-dir/lib-name', projectRoot: 'libs/shared/sub-dir/lib-name', + projectNameAndRootFormat: 'derived', }); });