-
Hey again! I've tried to run test on the component using
It's not a surprise, there was no setup from my side on the jest.config.ts to support StyleX. How to provide setup for the StyleX? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You just need a Set |
Beta Was this translation helpful? Give feedback.
You just need a
.babelrc.js
file at the root of your project. Jest will pick it up.Set
test: process.env.NODE_ENV === 'test'