Skip to content

Commit

Permalink
fix mocha exit
Browse files Browse the repository at this point in the history
  • Loading branch information
tgabi333 committed Aug 19, 2021
1 parent 7a8a745 commit a92d049
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -5,7 +5,7 @@
"main": "lib/ocsp.js",
"scripts": {
"lint": "standard --env mocha",
"test": "mocha --exit"
"test": "mocha"
},
"keywords": [
"OCSP",
Expand Down
1 change: 1 addition & 0 deletions test/api-test.js
Expand Up @@ -45,6 +45,7 @@ describe('OCSP Stapling Provider', function () {
return cb(err)
}
assert.strictEqual(res.certStatus.type, 'good')
client.destroy()
socket.end(cb)
})
} else {
Expand Down

0 comments on commit a92d049

Please sign in to comment.