-
Hi, I can't seem to get this to work with CRA. The tests with You can see my attempt here: aberonni/ts-jest-CRA-demo@c301cab |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
IIRC a CRA without ejecting doesn’t accept a custom config for I only know that ejecting CRA will allow to configure Jest to use It’s better to ask this question in Jest Discord community or React community. |
Beta Was this translation helpful? Give feedback.
IIRC a CRA without ejecting doesn’t accept a custom config for
transform
Jest option. By default, CRA project always processes TypeScript files with Babel.I only know that ejecting CRA will allow to configure Jest to use
ts-jest
instead of Babel. I’m not sure without ejecting you can achieve that.It’s better to ask this question in Jest Discord community or React community.