Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using jest config to configure default timeout for integration tests #169

Merged

Conversation

lenkan
Copy link
Collaborator

@lenkan lenkan commented Dec 7, 2023

As per suggestion by psteniusubi. But instead of adding "testTimeout" as a cli option, I think it is better to add it as a config. This should ensure it is picked up when running the tests from an IDE as well.

Note that there is actually an option for "testTimeout" that can be set in the config directly. But currently there is an issue with that (jestjs/jest#14513) and it does not look like it will be released in jest v29. When we upgrade, we can avoid the jest.setup.ts file.

Copy link

codecov bot commented Dec 7, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c0727b6) 81.36% compared to head (1d27012) 81.36%.

Additional details and impacted files
@@             Coverage Diff              @@
##           development     #169   +/-   ##
============================================
  Coverage        81.36%   81.36%           
============================================
  Files               46       46           
  Lines             4149     4149           
  Branches          1030     1030           
============================================
  Hits              3376     3376           
  Misses             741      741           
  Partials            32       32           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pfeairheller pfeairheller self-requested a review December 7, 2023 15:19
@pfeairheller pfeairheller merged commit a271dac into WebOfTrust:development Dec 7, 2023
5 checks passed
@lenkan lenkan deleted the configure-default-test-tiemout branch December 18, 2023 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants