This repository was archived by the owner on Mar 5, 2022. It is now read-only.
This repository was archived by the owner on Mar 5, 2022. It is now read-only.
Cove coverage isn’t working for TS and Cra-v3 #258
Closed
Description
We have been created our React app (components library for storyBook) with cra-v3. Currently we are using TypeScript, and our components are in .tsx files. We don’t have any webpack or babel file to modify it. I already checked all your examples but have never seen something working for typescript and cypress unit testing where code coverage is collecting without going to some url. As a result I’m getting an empty nyc_out file.
If it's possible to do, please, add here - https://github.com/bahmutov/try-cra-app-typescript
P.S. we are migrating to cypress from jest + enzyme. And for jest coverage is working for same project.(same Istanbul tool)
Tools:
Cypress 4.7.0
Cypress-react-unit-test 4.3.0
Os: Windows 10