☕️ Classic, reliable, trusted test framework for Node.js and the browser
Changing the '===' to '==' to be consistent with the codebase
Attila Domokosde5451d88ac7
diff --git a/lib/suite.js b/lib/suite.jsindex f2a19927..75d19de2 100644--- a/lib/suite.js+++ b/lib/suite.js@@ -85,7 +85,7 @@ Suite.prototype.clone = function(){*/Suite.prototype.timeout = function(ms){- if (0 === arguments.length) return this._timeout;+ if (0 == arguments.length) return this._timeout;if (String(ms).match(/s$/)) ms = parseFloat(ms) * 1000;debug('timeout %d', ms);this._timeout = parseInt(ms, 10);@@ -101,7 +101,7 @@ Suite.prototype.timeout = function(ms){*/Suite.prototype.bail = function(bail){- if (0 === arguments.length) return this._bail;+ if (0 == arguments.length) return this._bail;debug('bail %s', bail);this._bail = bail;return this;