Replies: 1 comment
-
You need to setup Jest the same way as your build pipeline. If you use SWC + swc plugin it should be in the Jest as well, the same for babel with babel config. |
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 wish your examples had tests. I have been able to configure jest for Vite using this guide but the addition of
<Trans />
breaks every test.An example of the proper jest.config w/ vite and lingui would be helpful.
Beta Was this translation helpful? Give feedback.
All reactions