Skip to content

Instantly share code, notes, and snippets.

@lefnire
Created February 5, 2014 21:07
Show Gist options
  • Save lefnire/8833114 to your computer and use it in GitHub Desktop.
Save lefnire/8833114 to your computer and use it in GitHub Desktop.
diff --git a/test/api.mocha.js b/test/api.mocha.js
index 9b69fd4..0468fea 100644
--- a/test/api.mocha.js
+++ b/test/api.mocha.js
@@ -79,7 +79,7 @@ describe('API', function () {
before(function (done) {
require('../src/server'); // start the server
// then wait for it to do it's thing. TODO make a cb-compatible export of server
- setTimeout(done, 2000);
+ setTimeout(done, 10000);
});
describe('Without token or user id', function () {
diff --git a/test/mocha.opts b/test/mocha.opts
index 84bfdce..18aaaf7 100644
--- a/test/mocha.opts
+++ b/test/mocha.opts
@@ -1,6 +1,6 @@
--colors
--reporter spec
---timeout 8000
+--timeout 20000
--check-leaks
--growl
--debug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment