question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not seeing test coverage overlay

See original GitHub issue

Environment

  1. node -v: v8.9.1

  2. npm -v: 5.5.1

  3. yarn -v: 1.3.2

  4. npm ls react-scripts (if you haven’t ejected): empty

  5. Operating system: Windows 10

Steps to Reproduce

Demo app: https://github.com/ngauthier/jest-vscode-bug-demo

  1. Open VSCode
  2. Open app/javascript/foo.jsx and test/javascript/foo.test.js and make changes and save

Expected Behavior

See test coverage on my code.

Actual Behavior

I don’t see any test coverage on my code or my tests.

Notes

Perhaps it’s something to do with how I changed jests’s directories?

Thank you for your time and this plugin, it is awesome!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:37 (18 by maintainers)

github_iconTop GitHub Comments

1reaction
phracommented, May 2, 2018

i’m not able to see test coverage with latest version… using typescript too. please reopen the issue.

1reaction
rrousselGitcommented, Feb 5, 2018

Using a typescript project here. Still not seeing code’s coverage. Even with the latest version on windows . 😕

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not showing Test code coverage on developer console
Go to the 'Apex Test Execution'and in option select list deselect the 'Store Only Aggregated Code Coverage' checkbox. enter image ...
Read more >
How do I see what lines are not covered?
Go to ApexClasses -> Your Class - Beside the name of your class there is a column called Code Coverage. In that column...
Read more >
Test coverage: import statements not covered - Stack Overflow
The problem is, I have uncovered import statements saying else path not taken" and "branch not covered". The uncovered imports vary across ...
Read more >
How to View Apex Code Coverage in VS Code
To see code coverage for your test, click the three-bars icon that's next to your Org alias at the bottom of VS Code...
Read more >
Test Coverage Troubleshooting Tips - Code Climate
If you're successfully uploaded reports, but still not seeing coverage info in the UI, it's most likely because you haven't yet sent a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found