Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

more debugging

Tj Holowaychukb94b2c67c913
diff --git a/lib/suite.js b/lib/suite.js
index 59825d32..f3188fa5 100644
--- a/lib/suite.js
+++ b/lib/suite.js
@@ -85,7 +85,8 @@ Suite.prototype.__proto__ = EventEmitter.prototype;
Suite.prototype.clone = function(){
var suite = new Suite(this.title);
- suite.timeout(this._timeout);
+ debug('clone');
+ suite.timeout(this.timeout());
return suite;
};