Skip to content

Conversation

bahmutov
Copy link
Contributor

reproducible example for #361

If the source files are using TypeScript, then they are not instrumented when using our Browserify preprocessor. As soon as we set options.typescript = require.resolve('typescript') the Istanbul plugin is ignored and the Spec iframe has no window.__coverage__ object

@bahmutov bahmutov merged commit 6718097 into master Jan 19, 2021
@bahmutov
Copy link
Contributor Author

🎉 This PR is included in version 3.9.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@aslamj
Copy link

aslamj commented Apr 23, 2021

I got the latest example/unit-tests-ts (as part of your @cypress/code-coverage repo from github), compiled and ran cypress and still do not see coverage for unit-tests. So what am I missing here?

image

@emilyrohrbough emilyrohrbough deleted the unit-tests-ts branch March 22, 2023 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants