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
committed by GitHub
parent f7ce597606
commit 027e8a6f33

16
.vscode/launch.json vendored
View File

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