Skip to content

Commit

Permalink
Increase captureTimeout in karma config
Browse files Browse the repository at this point in the history
  • Loading branch information
OptimumCode committed Jan 16, 2025
1 parent ed1b95c commit a19deb5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions karma.config.d/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
module.exports = function(config) {
config.set({
// https://karma-runner.github.io/6.4/config/configuration-file.html#capturetimeout
// default timeout 60_000, but looks like it is not enough for macOS on GitHub runner
// increasing the timeout should help to reduce number of failures
captureTimeout: 120_000,
});
};

// A workaround from https://android-review.googlesource.com/c/platform/frameworks/support/+/3413540
(function() {
const originalExit = process.exit;
Expand Down

0 comments on commit a19deb5

Please sign in to comment.