Newer
Older
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{

Michael Breu
committed
"type": "node",

Michael Breu
committed
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/@angular/cli/bin/ng",
"cwd": "${workspaceFolder}",
"args": [
"test",
"--testMatch=\"**/+(*.)+(spec|test).+(ts|js)?(x)\"",
"--testPathPattern=${fileBasenameNoExtension}",
"--run-in-band",

Michael Breu
committed
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
},
{
"type": "node",
"name": "ng test:Launch via NPM",
"runtimeArgs": [
"test",
],
"runtimeExecutable": "npm",
"skipFiles": [
"<node_internals>/**"
],
"type": "node",
"name": "ng test",
"request": "launch",
"program": "C:\\Users\\Micha\\AppData\\Roaming\\npm\\ng.cmd",
"args": [ "test" ]
{
"type": "node",
"request": "launch",
"name": "Jest Tests",
"program": "${workspaceRoot}\\node_modules\\jest\\bin\\jest.js",
"args": [
"-i",
"--config",
"jest.conf.js",
],
// "preLaunchTask": "build",
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/dist/**/*"
],
"envFile": "${workspaceRoot}/src/main/docker/.env"
"type": "java",
"name": "Launch GitsearchApp",
"request": "launch",
"mainClass": "at.ac.uibk.gitsearch.GitsearchApp",
"envFile": "${workspaceFolder}/src/main/docker/.env"