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

Split jest tests into fast and slow groups #1401

Merged
merged 1 commit into from
Nov 2, 2024
Merged

Split jest tests into fast and slow groups #1401

merged 1 commit into from
Nov 2, 2024

Conversation

huchenlei
Copy link
Member

Split jest tests into fast and slow groups for faster testing against modules that don't need a lot of extra setup steps. Tests under tests-ui/tests/fast requires minimal setup/teardown while the slow group has legacy slow setup and tear down due to DOM simulations.

  • To run fast group: npm run test:jest:fast
  • To run slow group: npm run test:jest:slow

@huchenlei huchenlei merged commit 8baaf38 into main Nov 2, 2024
9 checks passed
@huchenlei huchenlei deleted the split_jest branch November 2, 2024 02:39
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