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.

coverage overlay is not visible

See original GitHub issue

Environment

  1. node -v: 9.11.1

  2. npm -v: 5.6.0

  3. Operating system: Debian

image

Steps to Reproduce

  1. clone https://github.com/seanpoulter/vscode-jest-181
  2. open vscode

Expected Behavior

coverage overlay is visible in the editor.

Actual Behavior

coverage overlay is not visible.

image

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
ThomasRooneycommented, May 12, 2018

@seanpoulter @phra – I spent a few hours and worked it out after this bugged me today – both the lack of markers and the annoyance that the red line is in the wrong place.

Its because the jest executable isn’t switched based on OS, so windows fails when it tries to run the shell script (instead of the ‘cmd’ file). The markers are due to using a hardcoded 0 => 6 column definition in the ‘diagnoses’ visual studio code API, instead of using the ‘whole line’ equivalent.

0reactions
seanpoultercommented, May 21, 2018

Let me know if you need a hand. I’m going to close this since I’ve been able to see the code coverage on an Ubuntu image using the example repo - https://github.com/seanpoulter/vscode-jest-181.

Read more comments on GitHub >

github_iconTop Results From Across the Web

coverage` rather than `collectCoverage: true` in `jest.config.js ...
Coverage overlay does not appear if coverage was collected with jest --coverage rather than collectCoverage: true in jest.config.js #370.
Read more >
No coverage - Visible Community
Visible only runs on Verizon's 4G LTE and 5G networks. If you're in an area that only supports 3G or any other network...
Read more >
Enabling Jest Code Coverage Overlay in VS Code - YouTube
This video guides you through enabling Jest code coverage overlay in VS Code. This include specific instructions for Lightning Web ...
Read more >
Coverage map not accurate. : r/Visible - Reddit
But the app doesn't show any area of no coverage around Weatherford. The crazy thing was when I bring up signal check pro...
Read more >
Clearing coverage highlighting in Eclipse - java - Stack Overflow
For people who are not able to find the coverage view , follow these steps : Go to Windows Menu bar > Show...
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