Enable run unit tests current file and cleanup launch.json (#15307)

This commit is contained in:
Chris LaFreniere 2021-05-03 11:38:43 -07:00 коммит произвёл GitHub
Родитель f7ce597606
Коммит 027e8a6f33
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 10 удалений

16
.vscode/launch.json поставляемый
Просмотреть файл

@ -140,7 +140,6 @@
"type": "pwa-chrome",
"request": "launch",
"outFiles": [],
"outFiles": [],
"perScriptSourcemaps": "yes",
"name": "VS Code (Web, Chrome)",
"url": "http://localhost:8080",
@ -214,7 +213,7 @@
"${workspaceFolder}/out/**/*.js"
],
"cascadeTerminateToConfigurations": [
"Attach to VS Code"
"Attach to azuredatastudio"
],
"env": {
"MOCHA_COLORS": "true"
@ -228,15 +227,15 @@
"request": "launch",
"name": "Run Unit Tests For Current File",
"program": "${workspaceFolder}/test/unit/electron/index.js",
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.app/Contents/MacOS/Electron",
"runtimeExecutable": "${workspaceFolder}/.build/electron/Azure Data Studio.app/Contents/MacOS/Electron",
"windows": {
"runtimeExecutable": "${workspaceFolder}/.build/electron/Code - OSS.exe"
"runtimeExecutable": "${workspaceFolder}/.build/electron/azuredatastudio.exe"
},
"linux": {
"runtimeExecutable": "${workspaceFolder}/.build/electron/code-oss"
"runtimeExecutable": "${workspaceFolder}/.build/electron/azuredatastudio"
},
"cascadeTerminateToConfigurations": [
"Attach to VS Code"
"Attach to azuredatastudio"
],
"outputCapture": "std",
"args": [
@ -250,9 +249,6 @@
],
"env": {
"MOCHA_COLORS": "true"
},
"presentation": {
"hidden": true
}
},
{
@ -355,7 +351,7 @@
{
"name": "Debug Unit Tests (Current File)",
"configurations": [
"Attach to VS Code",
"Attach to azuredatastudio",
"Run Unit Tests For Current File"
],
"presentation": {