From 37746f74a7886fb00e8ff4df52d520efe5606f84 Mon Sep 17 00:00:00 2001 From: Colum Ferry Date: Tue, 12 Nov 2024 15:46:31 +0000 Subject: [PATCH] fix(angular): when unit test runner is set to none library component should not generate spec file --- packages/angular/src/generators/library/lib/normalize-options.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/angular/src/generators/library/lib/normalize-options.ts b/packages/angular/src/generators/library/lib/normalize-options.ts index 73096691429d2..710d11e87a80b 100644 --- a/packages/angular/src/generators/library/lib/normalize-options.ts +++ b/packages/angular/src/generators/library/lib/normalize-options.ts @@ -67,6 +67,7 @@ export async function normalizeOptions( fileName, importPath, ngCliSchematicLibRoot, + skipTests: options.unitTestRunner === 'none' ? true : options.skipTests, standaloneComponentName: `${ names(projectNames.projectSimpleName).className }Component`,