Skip to content

Commit f9d770e

Browse files
committed
vscode(launch): avoid deprecated variable
Apparently the `workspaceRoot` variable is no longer suggested (even if it seems to work), but `workspaceFolder` is. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 977332b commit f9d770e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"type": "node",
66
"request": "launch",
77
"name": "Debug Tests",
8-
"program": "${workspaceRoot}/node_modules/.bin/jest",
9-
"cwd": "${workspaceRoot}",
8+
"program": "${workspaceFolder}/node_modules/.bin/jest",
9+
"cwd": "${workspaceFolder}",
1010
// to restrict running to a particular test case, add something like "--testNamePattern=/deploy"
1111
"args": ["--runInBand", "--config", "jest.config.js"],
1212
"windows": {

0 commit comments

Comments
 (0)