Skip to content

Commit c21e889

Browse files
committed
test: explicitly add localize polyfill
Since this polyfill is no longer automatically added, the internal test projects should explicitly add it in `polyfills.ts`. See: d6a3403
1 parent 41913be commit c21e889

File tree

2 files changed

+4
-0
lines changed
  • modules/testing/builder/projects/hello-world-app/src
  • packages/angular_devkit/build_webpack/test/angular-app/src

2 files changed

+4
-0
lines changed

modules/testing/builder/projects/hello-world-app/src/polyfills.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,3 +68,5 @@ import 'zone.js'; // Included with Angular CLI.
6868
/***************************************************************************************************
6969
* APPLICATION IMPORTS
7070
*/
71+
72+
import '@angular/localize/init';

packages/angular_devkit/build_webpack/test/angular-app/src/polyfills.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ import 'zone.js'; // Included with Angular CLI.
4040
/***************************************************************************************************
4141
* APPLICATION IMPORTS
4242
*/
43+
44+
import '@angular/localize/init';

0 commit comments

Comments
 (0)