Skip to content

Commit

Permalink
Workaround a tap issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
krasivyy3954 committed Nov 12, 2019
1 parent c53ec72 commit bbc081e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .nycrc.json

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -65,7 +65,7 @@
"lint-staged": "^9.4.2",
"node-fetch": "^2.6.0",
"prettier": "^1.18.2",
"tap": "^14.6.9"
"tap": "^14.9.2"
},
"scripts": {
"prepare": "npm run prepare:clean && npm run prepare:mjs && npm run prepare:js && npm run prepare:jsdoc && npm run prepare:prettier",
Expand All @@ -77,7 +77,7 @@
"test": "npm run test:eslint && npm run test:prettier && npm run test:tap",
"test:eslint": "eslint . --ext mjs,js",
"test:prettier": "prettier '**/*.{json,yml,md}' -l",
"test:tap": "tap --test-ignore=src --100",
"test:tap": "tap --test-ignore=src --100 --nyc-arg=--exclude='**/test-helpers/**'",
"prepublishOnly": "npm test"
}
}
1 change: 0 additions & 1 deletion src/test-helpers/startServer.mjs
Expand Up @@ -11,7 +11,6 @@
export const startServer = (t, app) =>
new Promise((resolve, reject) => {
app.listen(undefined, 'localhost', function(error) {
// istanbul ignore next
if (error) reject(error)
else {
t.tearDown(() => this.close())
Expand Down

0 comments on commit bbc081e

Please sign in to comment.