Skip to content

Comments

Switch to Jest official retry mechanism for intergration tests#465

Merged
rfelber merged 4 commits intomainfrom
maintanance/jest-native-retries
Jun 3, 2021
Merged

Switch to Jest official retry mechanism for intergration tests#465
rfelber merged 4 commits intomainfrom
maintanance/jest-native-retries

Conversation

@J12934
Copy link
Member

@J12934 J12934 commented Jun 2, 2021

Description

This PR upgrades the Jest version to 27 which comes with support for test retries out of the box.
These should hopefully be more stable then the improvised solution we've been using before, see #389.

This pr also contains a small script to run npm audit fix on all sub folders containing a package-lock.json.
This should also close the open dependabot PRs.

Checklist

  • Test your changes as thoroughly as possible before you commit them. Preferably, automate your test by unit/integration tests.
  • Make sure npm test runs for the whole project.
  • Make codeclimate checks happy

@J12934 J12934 added maintenance testing Improvements or additions regarding the test setup labels Jun 2, 2021
@J12934 J12934 self-assigned this Jun 2, 2021
@J12934 J12934 changed the title Use Jest native retries Switch to Jest official retry mechanism for intergration tests Jun 2, 2021
@rfelber rfelber merged commit 0283d38 into main Jun 3, 2021
@rfelber rfelber deleted the maintanance/jest-native-retries branch June 3, 2021 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance testing Improvements or additions regarding the test setup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants