Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task done
mackelito opened this issue Oct 20, 2023 · 1 comment
Open
1 task done

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

mackelito opened this issue Oct 20, 2023 · 1 comment

Comments

@mackelito
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

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

  • app1
  • app2
    libs
  • feature1
  • feature2

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants