mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Add debug configuration for unit tests + cleanup vscode tasks
Signed-off-by: Alex Culliere <alozhkin@mirantis.com>
This commit is contained in:
parent
ad0f48246c
commit
80f895a4d4
20
.vscode/launch.json
vendored
20
.vscode/launch.json
vendored
@ -34,8 +34,24 @@
|
||||
"name": "Integration Tests",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"console": "externalTerminal",
|
||||
"runtimeArgs": ["${workspaceRoot}/node_modules/.bin/jest", "--runInBand", "integration"],
|
||||
"console": "integratedTerminal",
|
||||
"runtimeArgs": [
|
||||
"${workspaceFolder}/node_modules/.bin/jest",
|
||||
"--runInBand",
|
||||
"integration"
|
||||
],
|
||||
},
|
||||
{
|
||||
"name": "Unit Tests",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"internalConsoleOptions": "openOnSessionStart",
|
||||
"program": "${workspaceFolder}/node_modules/jest/bin/jest.js",
|
||||
"args": [
|
||||
"--env=jsdom",
|
||||
"-i",
|
||||
"src"
|
||||
]
|
||||
}
|
||||
],
|
||||
}
|
||||
|
||||
22
.vscode/tasks.json
vendored
22
.vscode/tasks.json
vendored
@ -3,25 +3,6 @@
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"type": "shell",
|
||||
"label": "dev-server-renderer",
|
||||
"group": "build",
|
||||
"command": "yarn",
|
||||
"args": [
|
||||
"run",
|
||||
"dev:renderer",
|
||||
"&"
|
||||
],
|
||||
"isBackground": true,
|
||||
"problemMatcher": {
|
||||
"background": {
|
||||
"activeOnStart": false,
|
||||
"beginsPattern": "Compiling\\.\\.\\.$",
|
||||
"endsPattern": "^No issues found\\.$"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "shell",
|
||||
"group": "build",
|
||||
@ -30,9 +11,6 @@
|
||||
"debug-build"
|
||||
],
|
||||
"problemMatcher": [],
|
||||
// "dependsOn": [
|
||||
// "dev-server-renderer"
|
||||
// ],
|
||||
"label": "compile-dev",
|
||||
"detail": "Compiles main and extension types"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user