Skip to content

armgit / mocha

Public Imported from GitHub
0

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

revert changes that broke a regression test fixture

Christopher Hillerc59c04310603
diff --git a/test/integration/fixtures/regression/issue-1991.js b/test/integration/fixtures/regression/issue-1991.js
index 7c1eb19b..96860332 100644
--- a/test/integration/fixtures/regression/issue-1991.js
+++ b/test/integration/fixtures/regression/issue-1991.js
@@ -38,6 +38,8 @@ for (var i = 0; i < numOfTests; i += 1) {
});
it('access a variable via a closure', function () {
+ // slow performance on older node.js versions
+ this.timeout(1000);
closureVar = new MemoryLeak();
});