Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
add debugger config file and update debug cleanup to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmzoneill committed Apr 11, 2018
1 parent 67618ed commit 0d0bd29
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 117 deletions.
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ module.exports = {
"error",
"unix"
],
"lines-around-comment": "error",
"lines-around-comment": "off",
"lines-around-directive": "off",
"lines-between-class-members": "error",
"max-depth": "error",
Expand Down Expand Up @@ -199,7 +199,7 @@ module.exports = {
"no-param-reassign": "off",
"no-path-concat": "error",
"no-plusplus": "off",
"no-process-env": "error",
"no-process-env": "off",
"no-process-exit": "error",
"no-proto": "error",
"no-prototype-builtins": "error",
Expand Down Expand Up @@ -317,4 +317,4 @@ module.exports = {
"never"
]
}
};
};
12 changes: 12 additions & 0 deletions launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.1.0",
"configurations": [
{
"name": "Debug Mocha Test",
"type": "node",
"address": "localhost",
"port": 9229,
"sourceMaps": false
}
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"scripts": {
"test": "mocha",
"test-debug": "mocha --inspect-brk",
"lint": "eslint -c .eslintrc.js node-binance-api.js",
"cover": "istanbul cover _mocha --report lcovonly",
"coveralls": "cat ./coverage/lcov.info | coveralls",
Expand Down
Loading

0 comments on commit 0d0bd29

Please sign in to comment.