Jest not recognize type of macro function #1269
Unanswered
DATeclipse
asked this question in
Q&A
Replies: 1 comment
-
Latest nextjs jest runner uses swc instead of babel. So you need to directly override transpiler in jest config to use babel instead of what nextjs provides. |
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
-
Does anyone know of a solution to get our Jest to recognize the type for the Macro function of lingui's
t
? Our current setup was working withreact-script
and our original build w/create-react-app
but we've transitioned to NextJS and replaced our test command withjest --watch
and it's completely failing at this level.Any guidance or direction would help.
Beta Was this translation helpful? Give feedback.
All reactions