Skip to content

Commit e196383

Browse files
authored
Forgot to update the tasks and launch config (#2144)
1 parent 6a495d1 commit e196383

File tree

2 files changed

+19
-23
lines changed

2 files changed

+19
-23
lines changed

auth/.vscode/launch.json

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,15 @@
33
"configurations": [
44
{
55
"name": "Launch Tests",
6-
"type": "extensionHost",
76
"request": "launch",
8-
"args": [
9-
"--extensionDevelopmentPath=${workspaceFolder}/test/extension",
10-
"--extensionTestsPath=${workspaceFolder}/dist/cjs/test/index"
7+
"runtimeArgs": [
8+
"test",
119
],
12-
"outFiles": [
13-
"${workspaceFolder}/dist/cjs/**/*.js"
10+
"runtimeExecutable": "npm",
11+
"skipFiles": [
12+
"<node_internals>/**"
1413
],
15-
"preLaunchTask": "${defaultBuildTask}",
16-
"env": {
17-
"MOCHA_grep": "", // RegExp of tests to run (empty for all)
18-
"MOCHA_timeout": "0", // Disable time-outs
19-
"DEBUGTELEMETRY": "v",
20-
"NODE_DEBUG": ""
21-
}
22-
}
14+
"type": "node"
15+
},
2316
]
2417
}

auth/.vscode/tasks.json

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,24 @@
22
"version": "2.0.0",
33
"tasks": [
44
{
5-
"type": "npm",
6-
"script": "build",
5+
"label": "Build+Watch",
6+
"type": "shell",
7+
"command": "npm",
8+
"args": [
9+
"run",
10+
"build:esm",
11+
"--",
12+
"--watch",
13+
],
714
"group": {
815
"kind": "build",
916
"isDefault": true
1017
},
18+
"isBackground": true,
1119
"presentation": {
12-
"reveal": "never"
20+
"revealProblems": "onProblem"
1321
},
14-
"problemMatcher": "$tsc"
22+
"problemMatcher": "$tsc-watch",
1523
},
16-
{
17-
"type": "npm",
18-
"script": "lint",
19-
"problemMatcher": "$eslint-stylish"
20-
}
2124
]
2225
}

0 commit comments

Comments
 (0)