Skip to content

Commit

Permalink
added coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
rvagg committed Nov 6, 2018
1 parent 0293a9e commit c778d93
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1 +1,2 @@
node_modules
node_modules
.nyc_output
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -4,7 +4,7 @@
"description": "A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise",
"main": "through2.js",
"scripts": {
"test": "node test/test.js | faucet"
"test": "nyc node test/test.js | faucet && nyc report"
},
"repository": {
"type": "git",
Expand All @@ -25,6 +25,7 @@
"devDependencies": {
"bl": "~2.0.1",
"faucet": "0.0.1",
"nyc": "~13.1.0",
"stream-spigot": "~3.0.6",
"tape": "~4.9.1"
}
Expand Down
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -358,4 +358,4 @@ test('can be destroyed twice', function(t) {

th.destroy()
th.destroy()
})
})

0 comments on commit c778d93

Please sign in to comment.