jsverse / transloco

🚀 😍 The internationalization (i18n) library for Angular
https://jsverse.github.io/transloco/
MIT License
2.01k stars 195 forks source link

Feature(testing): Testing feature libraries in a nx monorepo #720

Closed mackelito closed 1 week ago

mackelito commented 11 months ago

Is there an existing issue for this?

Which Transloco package(s) will this feature affect?

Transloco, Scoped Libs

Is your feature request related to a problem? Please describe

When writing unit tests there is always console.warn about missing translations but they are not missing.

Describe the solution you'd like

Documentations on a dynamic DRY approach on how to test standalone components that reside in a structure outside the app. example: apps

i18n translations are in the features folder

Describe alternatives you've considered

N/A

Additional context

No response

I would like to make a pull request for this feature

No

SaDaT895 commented 10 months ago

Scoped tranlations are supposed to be added as langs within the TranslocoTesting Module. Could you share your test setup?

shaharkazaz commented 1 week ago

Feel free to reopen with reproduction/test repo.