cypress-react-unit-test TS + emotion error #14578
Unanswered
bizmonogatari
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://medium.com/swlh/cypress-unit-testing-react-components-with-typescript-77b38e5043b3
I was following the above blog post to try and get the plugin worrking.
I am using create-react-app so I did not need to do any special configuration to get TS to work.
I have a babelrc under ./src that contains the following:
I'm pretty sure cypress is not reading that so thats whats causing the error.
However Im not sure on how to fix this...
Any help is appreciated!
![スクリーンショット 2021-01-15 11 29 43](https://user-images.githubusercontent.com/58588849/104673384-fcffe500-5724-11eb-8d6c-759465503bf7.png)
Beta Was this translation helpful? Give feedback.
All reactions