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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
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!

Beta Was this translation helpful? Give feedback.
All reactions