Closed StMartin81 closed 1 year ago
+1 over here with v5.1:
node -v
: 16.10
npm -v
7.24.0
OS
: Macos Ventura 13.0
Shoot, yes, looks like there is a problem... This looks like an auto-config issue. It used .\node_modules\.bin\jest.cmd
instead of .\node_modules\jest\bin\jest
.
You can workaround this by clone the auto-config vscode-jest-tests.v2
to launch.json
(see https://github.com/jest-community/vscode-jest#how-to-debug-tests), then changing the program
path jest.cmd
to jest
. Or downgrade to 4.6 until the patch is ready.
[update]
Actually, the easiest workaround might be to just add an "test": "jest"
script in package.json
then reload the window.
I will take a closer look tomorrow to see how we can patch it soon.
We just released v5.2.1 pre-release with the fix. Please give it a try and let us know how it works for you.
It works. Thank you!
Environment
vscode-jest version
: v5.1.0node -v
: v18.13.0npm -v
: 9.3.1npm ls jest
:Behavior
With version 5.1 of this plugin I'm not able to debug the tests anymore. With version v4.6.0 it was possible to debug the tests.
I saw that the command line for running the tests did change: v4.6.0:
v5.1.0:
This is the output: