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

test(helper): integrate unit and integration tests into main jest configuration #5770

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Haroenv
Copy link
Contributor

@Haroenv Haroenv commented Jul 20, 2023

Summary

The helper will reasonably often be changed with those changes having an impact on InstantSearch. Being able to run all tests at once is beneficial.

Result

  • Helper's unit and integration tests are no longer separated from the main tests
  • integration tests are retried using jest
  • v3 tests also get run for main jest too (more safety, why not, but not really needed, maybe the tests should be scoped)

This allows us to run the tests from the root

WIP: revert the part of integration tests, as it should be separately retried probably
@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 20, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit fd99b40:

Sandbox Source
InstantSearch.js Configuration
react-instantsearch-app Configuration
example-react-instantsearch-hooks-default-theme Configuration
example-vue-instantsearch-default-theme Configuration

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.

1 participant