Skip to content

armgit / mocha

Public Imported from GitHub
0

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

test: raise timeout for node-unit Mocha spec to fix flaky hook (#6118)

Mostafa Nazari31ee8c5af3ac
diff --git a/test/node-unit/mocha.spec.cjs b/test/node-unit/mocha.spec.cjs
index 057f60b8..eff49ce9 100644
--- a/test/node-unit/mocha.spec.cjs
+++ b/test/node-unit/mocha.spec.cjs
@@ -10,6 +10,8 @@ const DUMBER_FIXTURE_PATH =
require.resolve("./fixtures/dumber-module.fixture.js");
describe("Mocha", function () {
+ this.timeout(5000);
+
let stubs;
let opts;
let Mocha;