Skip to content

Coverage in vscode is no longer displayed in the gutters of the file with v1.50.0 #770

@versak

Description

@versak

Describe the bug

Coverage decorators in vscode is no longer displayed in the gutters of the file with v1.50.0. I was able to get it to work with v1.44.2. I am using vscode version 1.113.0

Expected behavior

When right-clicking or selecting option in the the plugin panel, and choosing "Run tests with coverage" for a specific test file, previous versions would show the file being tested with green in the gutter when the line was tested and passed, red if the line was not tested, and red lines if the branch wasn't covered.

Current version does not display this.

Reproduction

When right-clicking or selecting option in the the plugin panel, and choosing "Run tests with coverage" for a specific test file, previous versions would show the file being tested with green in the gutter when the line was tested and passed, red if the line was not tested, and red lines if the branch wasn't covered.

Current version does not display this.

I have uninstalled and reinstalled the plugin several times, restarted vscode, and nothing is working.

Output

[INFO 9:19:10 AM] [v1.50.0] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 9:19:13 AM] [API] Resolving configs: app/vitest.config.ts
[9:19:13 AM] [API] Spawning on-demand process...
[INFO 9:19:13 AM] [API] Running Vitest v3.2.4 (app/vitest.config.ts) with "/usr/local/bin/node /root/.vscode-server/extensions/vitest.explorer-1.50.0/dist/worker.js"
[9:19:16 AM] [API] Vitest WebSocket connection closed, cannot call RPC anymore.
[9:19:16 AM] [API] On-demand process finished in 3360ms
[INFO 9:19:17 AM] [API] Watching vitest.config.ts
[INFO 9:19:17 AM] [VSCODE] Watching app with pattern **/*
[INFO 9:19:20 AM] [API] Collecting tests: src/components/hexbinOptions/MultiSwatchPicker.spec.tsx, src/components/hexbinOptions/HexbinOptionsPicker.spec.tsx
[9:19:20 AM] [API] Spawning on-demand process...
[INFO 9:19:20 AM] [API] Running Vitest v3.2.4 (app/vitest.config.ts) with "/usr/local/bin/node /root/.vscode-server/extensions/vitest.explorer-1.50.0/dist/worker.js"
[9:19:25 AM] [API] Vitest WebSocket connection closed, cannot call RPC anymore.
[9:19:25 AM] [API] On-demand process finished in 5211ms
[INFO 9:21:01 AM] [API] Collecting tests: src/utils/MenuOptionsUtils.spec.ts, src/components/iconPicker/IconPicker.spec.tsx, src/components/iconPicker/IconPickerPopover.spec.tsx, src/components/hexbinOptions/HexbinOtherOptions.spec.tsx, src/components/hexbinOptions/RampPicker.spec.tsx, src/components/filterPanel/FilterItComponent.spec.tsx, src/components/common/CommonMenu.spec.tsx, src/components/addLayers/overlays/OverlaySearch.spec.tsx, src/components/addLayers/aois/AOIsTab.spec.tsx
[9:21:01 AM] [API] Spawning on-demand process...
[INFO 9:21:01 AM] [API] Running Vitest v3.2.4 (app/vitest.config.ts) with "/usr/local/bin/node /root/.vscode-server/extensions/vitest.explorer-1.50.0/dist/worker.js"
[9:21:03 AM] [API] Vitest WebSocket connection closed, cannot call RPC anymore.
[9:21:03 AM] [API] On-demand process finished in 1873ms
[INFO 9:24:30 AM] [DECOR] Decorations for /usr/app/src/components/hexbinOptions/MultiSwatchPicker.spec.tsx are already cached. Displaying them.
[INFO 9:24:30 AM] [API] Running Vitest v3.2.4 (app/vitest.config.ts) with "/usr/local/bin/node /root/.vscode-server/extensions/vitest.explorer-1.50.0/dist/worker.js"
[9:24:31 AM] Enqueuing "renders the expected elements"
[9:24:31 AM] Enqueuing "updates selected button when clicked"
[INFO 9:24:31 AM] Running 1 file(s) with name pattern: ^\s?MultiSwatchPicker
[INFO 9:24:42 AM] [DECOR] Reset all decorations.
[9:24:42 AM] No task result for "MultiSwatchPicker.spec.tsx", ignoring
[9:24:42 AM] No task result for "MultiSwatchPicker", ignoring
[9:24:42 AM] Enqueuing "renders the expected elements"
[9:24:42 AM] Enqueuing "updates selected button when clicked"
[9:24:42 AM] No errors found for "MultiSwatchPicker.spec.tsx"
[9:24:43 AM] No errors found for "MultiSwatchPicker.spec.tsx"
[9:24:43 AM] No errors found for "MultiSwatchPicker"
[9:24:43 AM] Marking "renders the expected elements" as passed
[9:24:43 AM] Marking "renders the expected elements" as passed
[9:24:43 AM] Marking "updates selected button when clicked" as passed
[9:24:43 AM] Marking "updates selected button when clicked" as passed
[9:24:43 AM] No errors found for "MultiSwatchPicker"
[9:24:43 AM] No errors found for "MultiSwatchPicker.spec.tsx"
[9:24:43 AM] Disposing test runner
[9:24:43 AM] Ending test run src/components/hexbinOptions/MultiSwatchPicker.spec.tsx
[9:24:43 AM] [API] Vitest WebSocket connection closed, cannot call RPC anymore.
[INFO 9:26:12 AM] [DECOR] Decorations for /usr/app/vitest.config.ts are already cached. Displaying them.
[INFO 9:27:10 AM] [DECOR] Decorations for /usr/app/src/components/hexbinOptions/MultiSwatchPicker.spec.tsx are already cached. Displaying them.
[INFO 9:27:10 AM] [API] Running Vitest v3.2.4 (app/vitest.config.ts) with "/usr/local/bin/node /root/.vscode-server/extensions/vitest.explorer-1.50.0/dist/worker.js"
[9:27:11 AM] Enqueuing "renders the expected elements"
[9:27:11 AM] Enqueuing "updates selected button when clicked"
[INFO 9:27:11 AM] Running 1 file(s) with name pattern: ^\s?MultiSwatchPicker
[INFO 9:27:22 AM] [DECOR] Reset all decorations.
[9:27:22 AM] No task result for "MultiSwatchPicker.spec.tsx", ignoring
[9:27:22 AM] No task result for "MultiSwatchPicker", ignoring
[9:27:22 AM] Enqueuing "renders the expected elements"
[9:27:22 AM] Enqueuing "updates selected button when clicked"
[9:27:22 AM] No errors found for "MultiSwatchPicker.spec.tsx"
[9:27:23 AM] No errors found for "MultiSwatchPicker.spec.tsx"
[9:27:23 AM] No errors found for "MultiSwatchPicker"
[9:27:23 AM] Marking "renders the expected elements" as passed
[9:27:23 AM] Marking "renders the expected elements" as passed
[9:27:23 AM] Marking "updates selected button when clicked" as passed
[9:27:23 AM] Marking "updates selected button when clicked" as passed
[9:27:23 AM] No errors found for "MultiSwatchPicker"
[9:27:23 AM] No errors found for "MultiSwatchPicker.spec.tsx"
[9:27:23 AM] Ending test run src/components/hexbinOptions/MultiSwatchPicker.spec.tsx
[9:27:23 AM] Disposing test runner
[9:27:24 AM] [API] Vitest WebSocket connection closed, cannot call RPC anymore.

Extension Version

1.50.0

Vitest Version

3.2.4

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions