Component test runner not understanding typescript. #15895
Replies: 2 comments 2 replies
-
I got it working plugin index :
my webpack config for the tests
tsconfig
babel.config.js
hope that helps |
Beta Was this translation helpful? Give feedback.
-
Hey. Sorry for the slow reply. I'll be checking discussions on a daily basis from now on. Can you share your project structure? Where is Other than that, if you can provide a minimal reproduction, I can take a look. There is a solution above but I think it's probably not ideal - you should no longer need Will need more info on your project, how you set things up (CRA? Custom webpack config)? etc. Thanks! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting this error:
I was getting also similar errors in my commands file with:
I've been trying a bunch of stuff to try to get just a basic test running in our system. We currently use cypress with typescript for integration tests.
Also this is a create-react-app based application.
I added this to the plugins/index.ts:
and this to cypress.json:
Did I miss a step?
edit: I've put a bunch more time into figure this out and I don't get hat could be wrong.
Beta Was this translation helpful? Give feedback.
All reactions