Skip to content

hmm, could not TS work example #385

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 19, 2021
Merged

hmm, could not TS work example #385

merged 1 commit into from
Jan 19, 2021

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