Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Use the config mocha timeout if available (#1947)
Browse files Browse the repository at this point in the history
Use the config mocha timeout if available
  • Loading branch information
mikeseese committed Apr 24, 2019
2 parents 3089676 + f81aa24 commit 24729ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/truffle-core/lib/testing/testrunner.js
Expand Up @@ -37,7 +37,7 @@ function TestRunner(options = {}) {
this.currentTestStartBlock = null;

this.BEFORE_TIMEOUT = 120000;
this.TEST_TIMEOUT = 300000;
this.TEST_TIMEOUT = (options.mocha && options.mocha.timeout) || 300000;
}

TestRunner.prototype.initialize = function(callback) {
Expand Down

0 comments on commit 24729ac

Please sign in to comment.