Skip to content

Commit

Permalink
100% code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mcollina committed Nov 22, 2019
1 parent 046b2af commit 63f3f26
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/subscription.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ function createConnectionHandler (schema, subscriber, fastify) {
fastify
})

/* istanbul ignore next */
connection.on('error', () => {
/* istanbul ignore next */
subscriptionConnection.close()
})
connection.on('close', () => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"unit": "tap -J test/*.js",
"unit": "tap --100 -J test/*.js",
"cov": "tap --coverage-report=html -J test/*.js",
"lint": "npm run lint:standard && npm run lint:typescript",
"lint:standard": "standard | snazzy",
Expand Down

0 comments on commit 63f3f26

Please sign in to comment.