Skip to content

armgit / mocha

Public Imported from GitHub
0

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

increase timeout on http-meta tests

Christopher Hilleracd77015bd6a
diff --git a/test/http-meta-2.spec.js b/test/http-meta-2.spec.js
index 45309690..18b41584 100644
--- a/test/http-meta-2.spec.js
+++ b/test/http-meta-2.spec.js
@@ -73,6 +73,10 @@ describe('http server', function () {
server.listen(PORT, done);
});
+ beforeEach(function () {
+ this.timeout(2000);
+ });
+
after(function () {
server.close();
});
diff --git a/test/http-meta.spec.js b/test/http-meta.spec.js
index c92dbd23..2ed7ed92 100644
--- a/test/http-meta.spec.js
+++ b/test/http-meta.spec.js
@@ -46,6 +46,10 @@ describe('http requests', function () {
server.listen(PORT, done);
});
+ beforeEach(function () {
+ this.timeout(2000);
+ });
+
after(function () {
server.close();
});