-
Notifications
You must be signed in to change notification settings - Fork 78
Need Example with React components written in Typescript #78
Comments
Unit tests would certainly be useful. Some Cypress and Typescript support is included in NX: https://blog.nrwl.io/powering-up-react-development-with-nx-cf0a9385dbec |
I'm also really looking forward to this. I've been running around in circles the last 3 days trying to get this figured out. As soon as I add '.ts' and '.tsx' to
|
@ETE-Jens-Ihrig I managed to put together a working example: https://github.com/ElGoorf/cypress-react-unit-test |
I had trouble finding a working example for typescript, so i put together this https://github.com/tam5/tsx-cypress-example which has a test written in Also, if you need hooks, check out the But, it still has the problem of losing event listeners after the first test. For that we’ll have to wait I guess |
Added example in https://github.com/bahmutov/try-cra-app-typescript |
Is there a working example of the cypress-react-unit-test testing React compontenst written in Typescript ?
The text was updated successfully, but these errors were encountered: