Using Shallow-render unit tests with Transloco #660
Unanswered
joelynch-1
asked this question in
Q&A
Replies: 1 comment
-
Can you please add some more context? maybe a reproduction link? a link to the shallow package you are using? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an angular project where I use shallow for some of my unit tests. The setup is something like:
shallow = new Shallow(myComponent, myModule)
.After converting my project to use transloco, these unit tests fail because I have not provided them the TranslocoTetsingModule. However, I can not just replace myModule with the TranslocoTetsingModule. Does anyone have any ideas/solutions to this?
Beta Was this translation helpful? Give feedback.
All reactions