Gutter run button ignores Jest extension, runs full test suite instead of single test

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor Version: (fill in from About Cursor if visible)
OS: macOS 24.6.0
Extension: orta.vscode-jest v6.4.4
Description:
When clicking the green triangular run button in the editor gutter next to a test, Cursor’s built-in test runner executes the full test suite instead of running only the selected test. The Jest extension (orta.vscode-jest) is installed and configured correctly, but the gutter button does not delegate to it.
User Settings (relevant excerpt):

{
  "jest.jestCommandLine": "npx jest --no-coverage",
  "jest.autoRun": "off",
  "jest.runMode": "on-demand",
  "jest.enable": true,
  "jest.useJest30": true,
  "jest.shell": { "path": "/bin/zsh", "args": ["-l"] },
  "testing.defaultGutterClickAction": "run"
}

### Steps to Reproduce
See bug description

### Expected Behavior
The gutter run button should run only the selected test, scoped with --runTestsByPath and --testNamePattern, delegating to the installed Jest extension or at minimum respecting jest.jestCommandLine.



### Operating System
MacOS

### Version Information
Version: 2.6.18
VSCode Version: 1.105.1
Commit: 68fbec5aed9da587d1c6a64172792f505bafa250
Date: 2026-03-10T02:01:17.430Z (1 wk ago)
Build Type: Stable
Release Track: Default
Electron: 39.6.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0







### Does this stop you from using Cursor
Yes - Cursor is unusable

Hi @James_Pruitt!

Thanks for reporting this. I’m not sure that there’s an issue with Cursor here – there seem to be some open issues on the orta.vscode-jest repo reporting similar behavior.

You can check to see “who” is running the tests by expanding the right pane of the Test Results. Do you see orta.vscode-jest or something else?

(I was not able to get the behavior to reproduce when using the extension – only the tests I asked to run were run).

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.