Skip to content

Commit

Permalink
Merge pull request #2048 from mislav/fix-skip
Browse files Browse the repository at this point in the history
Fix `this.skip` from spec with HTML reporter
  • Loading branch information
danielstjules committed Jan 11, 2016
2 parents d5c0abc + daf4612 commit cbc3952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ Runner.prototype.runTests = function(suite, fn) {
if (err) {
var retry = test.currentRetry();
if (err instanceof Pending) {
test.pending = true;
self.emit('pending', test);
} else if (retry < test.retries()) {
var clonedTest = test.clone();
Expand Down

0 comments on commit cbc3952

Please sign in to comment.