Skip to content

Commit e9e56eb

Browse files
author
charlierudolph
committed
fix and
1 parent 6d0ce83 commit e9e56eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/runner.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ Runner.prototype.run = function (fn) {
822822
// callback
823823
this.on('end', function () {
824824
var failures = self.failures;
825-
if (self.forbidOnly and self.hasOnly) {
825+
if (self.forbidOnly && self.hasOnly) {
826826
failures += self.stats.tests;
827827
}
828828
if (self.forbidPending) {

0 commit comments

Comments
 (0)