Skip to content

Commit

Permalink
Add "Launch Unit Test" option (#2180)
Browse files Browse the repository at this point in the history
  • Loading branch information
akshita31 authored and Piotr Puszkiewicz committed Apr 12, 2018
1 parent 12ce332 commit 3d0e255
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,25 @@
"${workspaceRoot}/out/src/**/*.js"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch Unit tests",
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
"args": [
"-u",
"tdd",
"--timeout",
"999999",
"--colors",
"${workspaceFolder}/out/test/unitTests/**/*.test.js"
],
"sourceMaps": true,
"internalConsoleOptions": "openOnSessionStart",
"outFiles": [
"${workspaceRoot}/out/test/**/*.js"
]
},
{
"name": "Launch Feature Tests",
"type": "extensionHost",
Expand Down Expand Up @@ -83,4 +102,4 @@
]
}
]
}
}

0 comments on commit 3d0e255

Please sign in to comment.