Skip to content

Commit

Permalink
Update for nyc globals.
Browse files Browse the repository at this point in the history
  • Loading branch information
flatheadmill committed Feb 24, 2019
1 parent 9ed9c11 commit 7746207
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scaffold.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ function pad (number, width) {

module.exports = function (count, test) {
return cadence(function (async, globals, stream) {
if ('NYC_CONFIG' in process.env) {
globals.push('__coverage__')
}
var expected = Math.abs(count), passed = 0, actual = 0, delayed

function comment (lines) {
Expand Down

0 comments on commit 7746207

Please sign in to comment.