diff --git a/auth/.vscode/launch.json b/auth/.vscode/launch.json index 581508b116..e3a96cacf1 100644 --- a/auth/.vscode/launch.json +++ b/auth/.vscode/launch.json @@ -3,22 +3,15 @@ "configurations": [ { "name": "Launch Tests", - "type": "extensionHost", "request": "launch", - "args": [ - "--extensionDevelopmentPath=${workspaceFolder}/test/extension", - "--extensionTestsPath=${workspaceFolder}/dist/cjs/test/index" + "runtimeArgs": [ + "test", ], - "outFiles": [ - "${workspaceFolder}/dist/cjs/**/*.js" + "runtimeExecutable": "npm", + "skipFiles": [ + "/**" ], - "preLaunchTask": "${defaultBuildTask}", - "env": { - "MOCHA_grep": "", // RegExp of tests to run (empty for all) - "MOCHA_timeout": "0", // Disable time-outs - "DEBUGTELEMETRY": "v", - "NODE_DEBUG": "" - } - } + "type": "node" + }, ] } diff --git a/auth/.vscode/tasks.json b/auth/.vscode/tasks.json index 100b64b12e..02a1fd3136 100644 --- a/auth/.vscode/tasks.json +++ b/auth/.vscode/tasks.json @@ -2,21 +2,24 @@ "version": "2.0.0", "tasks": [ { - "type": "npm", - "script": "build", + "label": "Build+Watch", + "type": "shell", + "command": "npm", + "args": [ + "run", + "build:esm", + "--", + "--watch", + ], "group": { "kind": "build", "isDefault": true }, + "isBackground": true, "presentation": { - "reveal": "never" + "revealProblems": "onProblem" }, - "problemMatcher": "$tsc" + "problemMatcher": "$tsc-watch", }, - { - "type": "npm", - "script": "lint", - "problemMatcher": "$eslint-stylish" - } ] }