-
Notifications
You must be signed in to change notification settings - Fork 309
Description
Hi,
Describe the bug
I have updated my Visual Studio Code to version 1.98 and I have experienced that I cannot run a test case in debub mode. I have tried with doing a clean installation of Visual Studio Code version 1.98 and I have faced with same issue. Uninstalling version 1.98 and installing version 1.97 back solved my issue. So perhaps vscode-jest is not yet compatible in some way with 1.98.
To Reproduce
Steps to reproduce the behavior:
- Go to one of your test file
- Right click on test options
- Choose Debug Test
- See error
Expected behavior
I would expect that Debug Test is functional as on earlier Visual Studio Code versions.
Screenshots
Environment (please complete the following information):
- vscode-jest version: 6.4.0
node -v
: v22.11.0npm -v
: 10.9.0- jest version: 29.7.0
- your vscode-jest setting: nothing specific
- Operating system: Windows 11
Prerequisite
Nx is being used as central tool to launch tests for specific projects.
- are you able to run jest from the command line? Yes, I'm able to do.
- where do you run jest CLI from? From the root of the project
- how do you run your tests from the command line? npx nx run xxxx:test, it launched the Jest CLI with specific arguments defined in the Nx project.json and nx.json
Additional context
I have not seen this issue before and unfortunately It does not give me any meaningful information regarding the exact problem.