diff options
author | Thomas Schmid <schmid-thomas@gmx.net> | 2020-05-23 01:26:12 +0300 |
---|---|---|
committer | Thomas Schmid <schmid-thomas@gmx.net> | 2020-05-25 01:51:01 +0300 |
commit | 2e6ad5a701a7dd162c904c80327a469581c74484 (patch) | |
tree | 0911b05826b75c5b2a56d7969405557dcc0881e7 /.vscode | |
parent | cbfa43ff267e391f12dfc7ff380663f93c8583a8 (diff) |
Make test framework compatible with node.
Diffstat (limited to '.vscode')
-rw-r--r-- | .vscode/launch.json | 26 | ||||
-rwxr-xr-x | .vscode/tasks.json | 3 |
2 files changed, 28 insertions, 1 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..7083e7e9 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,26 @@ +{ + // 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": [ + { + "type": "node", + "request": "launch", + "name": "Run Unit Tests", + "program": "${workspaceFolder}/tests/index.js", + "skipFiles": [ + //"<node_internals>/**" + ] + }, + { + "type": "node", + "request": "launch", + "name": "Launch Program", + "skipFiles": [ + "<node_internals>/**" + ], + "program": "${workspaceFolder}\\build\\electron\\resources\\" + } + ] +}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index a5d71189..d78f1f3f 100755 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -17,7 +17,8 @@ }, "args": [ "./src/**/*.js", - "./src/**/*.jsm" + "./src/**/*.jsm", + "./tests/**/*.js" ], "promptOnClose": false, "presentation": { |