Replacement for retired VS Code Jest codelens
nausaf

nausaf @nausaf

About: Full Stack Developer based in London, UK

Joined:
Oct 16, 2022

Replacement for retired VS Code Jest codelens

Publish Date: Dec 30 '22
2 0

The Codelens provided by VS Code Jest extension on tests in the editor has been retired (hence this post on Jest CodeLens I wrote a while back is also outdated).

The fix is really simple:

In your User Settings file (setttings.json), put this line in:

"testing.defaultGutterClickAction": "contextMenu"
Enter fullscreen mode Exit fullscreen mode

You should now be able to access Debug test etc. from the Play button in the gutter:

Image description

Comments 0 total

    Add comment