Skip to content

Commit

Permalink
tests: ignore branch coverage that varies
Browse files Browse the repository at this point in the history
closes #228
closes #229
  • Loading branch information
ryhinchey authored and dougwilson committed Mar 18, 2020
1 parent 5659d2f commit c54194c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ function headersSent (res) {
function pad2 (num) {
var str = String(num)

// istanbul ignore next: num is current datetime
return (str.length === 1 ? '0' : '') + str
}

Expand Down

0 comments on commit c54194c

Please sign in to comment.