Increase default timeout to 5 seconds from 2

This is arbitrary, and we could increase it more or make it configurable via
the command line if Travis continue to time out, but this allows all tests to
complete for me in a VM.
This commit is contained in:
Dan Stillman 2015-05-29 01:34:20 -04:00
parent 025411f9b4
commit 5051b938ae

View file

@ -70,7 +70,11 @@ function Reporter(runner) {
}
// Setup Mocha
mocha.setup({ui:"bdd", reporter:Reporter});
mocha.setup({
ui: "bdd",
reporter: Reporter,
timeout: 5000
});
// Enable Bluebird generator support in Mocha
(function () {