Skip to content

Commit

Permalink
fix and
Browse files Browse the repository at this point in the history
  • Loading branch information
charlierudolph committed Feb 1, 2017
1 parent 6d0ce83 commit e9e56eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ Runner.prototype.run = function (fn) {
// callback
this.on('end', function () {
var failures = self.failures;
if (self.forbidOnly and self.hasOnly) {
if (self.forbidOnly && self.hasOnly) {
failures += self.stats.tests;
}
if (self.forbidPending) {
Expand Down

0 comments on commit e9e56eb

Please sign in to comment.