Romanchuk / angular-i18next

angular v10+ integration with i18next v19.4+
MIT License
131 stars 33 forks source link

Upgrading to ^11.0.0 is not working for angular 13 #82

Closed Yogaraju closed 2 years ago

Yogaraju commented 2 years ago

I have upgraded to version ^11.0.0 and angular to v13 and I am using i18next-http-backend. When I run unit testcases, they are failing by throwing the following error Error: ASSERTION ERROR: Expected localId to be defined [Expected=> null != undefined <=Actual]

i18next-browser-languagedetector also been used as suggested but still the issue resides.

The issue was not there with previous version of angular-i18next @Romanchuk @tobstarr

Romanchuk commented 2 years ago

@Yogaraju What tests are you running?

Romanchuk commented 2 years ago

@Yogaraju You need to aware that angular 13 now using .mjs modules. So there are some problems with test engines after moving to angular 13. I got it with cypress and karma