-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(tests): added mocha to repo (needs more improvement)
- Loading branch information
Showing
4 changed files
with
474 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
// 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": [ | ||
{ | ||
"name": "Launch Program", | ||
"program": "${workspaceFolder}/index.js", | ||
"request": "launch", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"type": "pwa-node" | ||
}, | ||
{ | ||
"args": [ | ||
"-u", | ||
"tdd", | ||
"--timeout", | ||
"999999", | ||
"--colors", | ||
"${workspaceFolder}/test" | ||
], | ||
"internalConsoleOptions": "openOnSessionStart", | ||
"name": "Mocha Tests", | ||
"program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
"request": "launch", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"type": "pwa-node" | ||
}, | ||
// { | ||
// "type": "node", | ||
// "request": "launch", | ||
// "name": "Mocha Tests", | ||
// "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | ||
// "args": [ | ||
// "--require", | ||
// "esm", | ||
// "--require", | ||
// "${workspaceFolder}/your-test-folder/your-setup.js", | ||
// "--reporter", | ||
// "dot", | ||
// "--slow", | ||
// "5000", | ||
// "--colors", | ||
// "${workspaceFolder}/your-test-folder/**/*.spec.js", | ||
|
||
// ], | ||
// "internalConsoleOptions": "openOnSessionStart", | ||
// "skipFiles": [ | ||
// "<node_internals>/**" | ||
// ] | ||
// }, | ||
|
||
// { | ||
// "type": "node", | ||
// "request": "launch", | ||
// "name": "Launch Program", | ||
// "skipFiles": [ | ||
// "<node_internals>/**" | ||
// ], | ||
// "program": "${workspaceFolder}/src/yourNodeIndex.js" | ||
// } | ||
] | ||
} |
Oops, something went wrong.