This is a reproduction repo for an Angular issue "LOCALE_ID accessed in tests before APP_INITIALIZER runs (with Ivy)".
Angular github issue: #36230
- checkout the repo
npm install
ng serve
(application loads correctly, console confirms thatLOCALE_ID = fr-FR
)ng test
(fails,Error: Expected '' to equal 'fr-FR'
)