You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Debug a test with the default v2 configuration
Set a breakpoint and let it stop
Click the "restart" button on the menu bar
See error, command runs but with the litt
Expected behavior
Expect the same test to run the same way as the first time:
jest --runInBand --watchAll=false --testNamePattern 'redacted$' --runTestsByPath /Users/redacted.test.tsx --testTimeout=100000000 --coverage=false
But the second time around,
jest --runInBand --watchAll=false --testNamePattern '${jest.testNamePattern}' --runTestsByPath '${jest.testFile}' --testTimeout=100000000 --coverage=false
Screenshots
Here is an output
Environment (please complete the following information):
vscode-jest version: v6.2.5
node -v: v18.18.0
npm -v or yarn --version: yarn 1.22.19
jest or react-scripts (if you haven’t ejected) version: jest 29.3.1
Operating system: MacOS 14.2.1
Prerequisite
are you able to run jest from the command line? Yes
where do you run jest CLI from? Root
how do you run your tests from the command line? jest
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@tim-helloquickly, thanks for bringing this to our attention, I can confirm this is a reproducible bug. I am working with the vscode team to see how we can best resolve it (microsoft/vscode#212005).
One thing to note -- if I omit adding a jest configuration to the launch.json and just go with the default, it works properly (so it's specifically the variable substitution
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Expect the same test to run the same way as the first time:
jest --runInBand --watchAll=false --testNamePattern 'redacted$' --runTestsByPath /Users/redacted.test.tsx --testTimeout=100000000 --coverage=false
But the second time around,
jest --runInBand --watchAll=false --testNamePattern '${jest.testNamePattern}' --runTestsByPath '${jest.testFile}' --testTimeout=100000000 --coverage=false
Screenshots
Here is an output
Environment (please complete the following information):
node -v
: v18.18.0npm -v
oryarn --version
: yarn 1.22.19Prerequisite
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: