Add Jest tests to VSCode config
This commit is contained in:
12
.vscode/launch.json
vendored
12
.vscode/launch.json
vendored
@@ -50,6 +50,18 @@
|
|||||||
"console": "integratedTerminal",
|
"console": "integratedTerminal",
|
||||||
"internalConsoleOptions": "neverOpen"
|
"internalConsoleOptions": "neverOpen"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Launch Unit Tests - React (vscode-codeql)",
|
||||||
|
"type": "node",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceFolder}/extensions/ql-vscode/node_modules/.bin/jest",
|
||||||
|
"showAsyncStacks": true,
|
||||||
|
"cwd": "${workspaceFolder}/extensions/ql-vscode",
|
||||||
|
"stopOnEntry": false,
|
||||||
|
"sourceMaps": true,
|
||||||
|
"console": "integratedTerminal",
|
||||||
|
"internalConsoleOptions": "neverOpen"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Launch Integration Tests - No Workspace (vscode-codeql)",
|
"name": "Launch Integration Tests - No Workspace (vscode-codeql)",
|
||||||
"type": "extensionHost",
|
"type": "extensionHost",
|
||||||
|
|||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -35,5 +35,6 @@
|
|||||||
"editor.formatOnSave": false,
|
"editor.formatOnSave": false,
|
||||||
"typescript.preferences.quoteStyle": "single",
|
"typescript.preferences.quoteStyle": "single",
|
||||||
"javascript.preferences.quoteStyle": "single",
|
"javascript.preferences.quoteStyle": "single",
|
||||||
"editor.wordWrapColumn": 100
|
"editor.wordWrapColumn": 100,
|
||||||
|
"jest.rootPath": "./extensions/ql-vscode"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user