Skip to content

test(common): add "only" feature to common test suite#6715

Merged
Haroenv merged 1 commit intomasterfrom
chore/scoped-cts
Sep 24, 2025
Merged

test(common): add "only" feature to common test suite#6715
Haroenv merged 1 commit intomasterfrom
chore/scoped-cts

Conversation

@Haroenv
Copy link
Copy Markdown
Contributor

@Haroenv Haroenv commented Sep 24, 2025

Summary

You can pass only: ['createAutocompleteWidgetTests'] to runTestSuites, and will be able to have faster running tests and more easy to read assertions. Eslint will prevent you from comitting this.

Result

runTestSuites({ ...args, only: ['specific test suite']}) to scope to just a set of tests temporarily.

You can pass `only: ['createAutocompleteWidgetTests']` to `runTestSuites`, and will be able to have faster running tests and more easy to read assertions. Eslint will prevent you from comitting this.
@Haroenv Haroenv requested review from a team, FabienMotte and aymeric-giraudet and removed request for a team September 24, 2025 12:49
@codesandbox-ci
Copy link
Copy Markdown

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 fe5421e:

Sandbox Source
example-instantsearch-getting-started Configuration
example-react-instantsearch-getting-started Configuration
example-react-instantsearch-next-app-dir-example Configuration
example-react-instantsearch-next-routing-example Configuration
example-vue-instantsearch-getting-started Configuration

@Haroenv Haroenv merged commit 95b7e3a into master Sep 24, 2025
15 checks passed
@Haroenv Haroenv deleted the chore/scoped-cts branch September 24, 2025 15:07
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