Skip to content

Commit

Permalink
Increase captureTimeout in karma configuration (#364)
Browse files Browse the repository at this point in the history
This should help to reduce failures related to the #307 issue.

Also, this change moves karma config to the [correct
location](https://karma-runner.github.io/6.4/config/configuration-file.html)
- it did not have any effect before that
  • Loading branch information
OptimumCode authored Jan 16, 2025
1 parent 8008b49 commit c96e74b
Showing 1 changed file with 9 additions and 0 deletions.
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 c96e74b

Please sign in to comment.