Skip to content

Commit

Permalink
Property configure code coverage to not include irrelevant files
Browse files Browse the repository at this point in the history
  • Loading branch information
danielwestendorf committed Jul 19, 2018
1 parent 30c8926 commit ca00976
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -32,5 +32,9 @@
},
"teenytest": {
"timeout": 10000
},
"nyc": {
"exclude": ["index.js"],
"include": ["lib/**/*.js"]
}
}
2 changes: 1 addition & 1 deletion test/lib/pdf/print-options-test.js
Expand Up @@ -98,7 +98,7 @@ module.exports = {
},

specified() {
const options = { landscape: 'true' }
const options = { landscape: 1 }

assert.deepEqual(true, new PrintOptions(options).build().landscape)
}
Expand Down

0 comments on commit ca00976

Please sign in to comment.