command 'io.orta.jest.coverage.toggle' not found
See original GitHub issueEnvironment
node -v
: [9.5.0]npm -v
: [yarn 1.3.2]
Using version 2.6.0 of the extension.
- Operating system: [linux]
Steps to Reproduce
Try to toggle code coverage overlay
Expected Behavior
Should show overlay
Actual Behavior
Gives error command 'io.orta.jest.coverage.toggle' not found
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:9 (2 by maintainers)
Top Results From Across the Web
vscode jest extension doesn't work properly - Stack Overflow
I had been running tests using WSL2 with no issues (without the extension), but encountered "jest command not found" with the extension. After...
Read more >vscode-jest - npm Package Health Analysis - Snyk
Looks like vscode-jest is missing a security policy. ... Run the Jest: Toggle Coverage Overlay command to show the overlay once; To configure...
Read more >Configuring Jest for Visual Studio Code - Beyond Java
You have to run the command "Jest: Toggle Coverage": The half-moon symbol in the taskbar indicates whether the coverage is active or not....
Read more >vscode-jest - Visual Studio Marketplace
Intermittent errors for (npm/yarn/node) command not found during test run or ... The coverage state is reflected in test tree toggle menu, ...
Read more >Track project code coverage with Jest | egghead.io
Jest comes pre-packaged with the ability to track code coverage for the ... code coverage for the project, you'll notice that we are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i preformed the following: uninstalled jest, installed jest in WSL. toggling coverage and the setup extension beta option result in errors such as this:
since this project has no jest settings in settings.json i added a simple
jest.rootPath
to the parent which contains the jest.config.js file. the above errors continued to repete.i then tried
jest: start all runners
and the hour glass icon popped up in the left hand extensions set. it reports 2/2 tests pass. toggle coverage started working.For anyone coming to this, what helped me was to first run the
Jest: Start all runners
from the command palette and if needed reload VSCode.