Skip to content

armgit / mocha

Public Imported from GitHub
0

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

default suite timeout to 2s

TJ Holowaychuk6f707bebc57b
diff --git a/lib/suite.js b/lib/suite.js
index 827ba352..0530fae5 100644
--- a/lib/suite.js
+++ b/lib/suite.js
@@ -55,6 +55,7 @@ function Suite(title) {
this.afterAllCallbacks = [];
this.afterEachCallbacks = [];
this.root = !title;
+ this.timeout(2000);
}
/**