Skip to content

Commit

Permalink
changed default timeout to 30 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
pirog committed Jul 22, 2024
1 parent 8022e66 commit 04ab6ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
## {{ UNRELEASED_VERSION }} - [{{ UNRELEASED_DATE }}]({{ UNRELEASED_LINK }})

* Changed default `timeout` to 30 minutes
* Removed misleading `shell` debugging

## v1.0.0-beta.3 - [March 15, 2024](https://github.com/lando/leia/releases/tag/v1.0.0-beta.3)
Expand Down
3 changes: 1 addition & 2 deletions lib/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Mocha = require('mocha');

module.exports = (tests, options) => {
// Instantiate a Mocha instance.
const mocha = new Mocha(_.merge({}, {timeout: 900000}, options));
const mocha = new Mocha(_.merge({}, {timeout: 1800000}, options));

// Throw an error if there are no tests
if (_.isEmpty(tests)) throw Error('You must pass in some tests!');
Expand All @@ -21,4 +21,3 @@ module.exports = (tests, options) => {
// Run the test runner.
return mocha;
};

0 comments on commit 04ab6ae

Please sign in to comment.