Jest encountered an unexpected token?
Oct 1, 2022 · 1 min read · When I tried to use Jest to test my react component, an error occurred. Then I googled and looked for answer in stackoverflow. Took me hours of searching and finally I solved it. Below is how I solved it. Install "@babel/plugin-transform-modules-co...
Join discussion