This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
launch.json 1.81 KiB
Newer Older
Eduard Frankford's avatar
Eduard Frankford committed
{
  // 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": [
    {
      "request": "launch",
      "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",
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
    },
    {
      "type": "node",
      "name": "ng test:Launch via NPM",
      "request": "launch",
      "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" ]
Michael Breu's avatar
Michael Breu committed
    },

    {
      "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",
      "projectName": "gitsearch",
      "envFile": "${workspaceFolder}/src/main/docker/.env"