Skip to content

Commit

Permalink
test: track test begin/end
Browse files Browse the repository at this point in the history
  • Loading branch information
davisjam committed Feb 26, 2018
1 parent b23f662 commit 6389ccb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ function testFile(engine, file, filename, index) {
delete marked._original;
}

console.log('#%d. Beginning %s.', index, filename);

if (opts.length) {
marked._original = marked.defaults;
marked.defaults = {};
Expand Down Expand Up @@ -192,7 +194,7 @@ function testFile(engine, file, filename, index) {
}
}

console.log('#%d. %s completed.', index, filename);
console.log(' #%d completed (%s)', index, filename);
return true
}

Expand Down

0 comments on commit 6389ccb

Please sign in to comment.