From b3ffdf92c5bcc2d36399f350d9c95ca14fab8d26 Mon Sep 17 00:00:00 2001 From: Alan Date: Wed, 6 Mar 2019 09:05:06 +0100 Subject: [PATCH] test: fix ngcc tests to work with flattened dts files (#28884) PR Close #28884 --- integration/ngcc/test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/ngcc/test.sh b/integration/ngcc/test.sh index 0e8e17d49e..f2f09d7865 100755 --- a/integration/ngcc/test.sh +++ b/integration/ngcc/test.sh @@ -34,9 +34,9 @@ ivy-ngcc if [[ $? != 0 ]]; then exit 1; fi # Did it transform @angular/core typing files correctly? - grep "import [*] as ɵngcc0 from './r3_symbols';" node_modules/@angular/core/src/application_module.d.ts + grep "import [*] as ɵngcc0 from './src/r3_symbols';" node_modules/@angular/core/core.d.ts if [[ $? != 0 ]]; then exit 1; fi - grep "static ngInjectorDef: ɵngcc0.InjectorDef;" node_modules/@angular/core/src/application_module.d.ts + grep "static ngInjectorDef: ɵngcc0.InjectorDef;" node_modules/@angular/core/core.d.ts if [[ $? != 0 ]]; then exit 1; fi # Did it generate a base factory call for synthesized constructors correctly?