mirror of
https://github.com/Permissionless-Software-Foundation/ipfs-bch-wallet-service.git
synced 2026-09-21 16:52:03 -07:00
Merge pull request #78 from christroutner/unstable
fix(husky): Adding husky for pre-commit linting
This commit is contained in:
Generated
+661
-165
File diff suppressed because it is too large
Load Diff
@@ -62,6 +62,7 @@
|
||||
"eslint-plugin-node": "^11.1.0",
|
||||
"eslint-plugin-prettier": "^3.1.0",
|
||||
"eslint-plugin-standard": "^4.0.0",
|
||||
"husky": "^4.2.5",
|
||||
"mocha": "^7.0.1",
|
||||
"nyc": "^15.0.0",
|
||||
"semantic-release": "^17.0.0",
|
||||
@@ -74,5 +75,10 @@
|
||||
"npmPublish": false
|
||||
}
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "npm run lint"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,6 @@ const assert = require('chai').assert
|
||||
const LOCALHOST = `http://localhost:${config.port}`
|
||||
|
||||
describe('Contact', () => {
|
||||
|
||||
describe('POST /contact/email', () => {
|
||||
it('should throw error if email property is not provided', async () => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user