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 up tests into multiple test files #239

Merged
merged 1 commit into from Nov 18, 2022
Merged

Split up tests into multiple test files #239

merged 1 commit into from Nov 18, 2022

Conversation

bmish
Copy link
Owner

@bmish bmish commented Nov 18, 2022

Split up the 4,000 line test file where we tested almost everything into separate test files based on category.

Benefits:

  • Much more organized
  • Will make it easier for contributors to find tests and decide where to place new tests
  • Test running time is sped up from 30 sec to 10 sec on my local machine.

Fixes #16.

Includes a workaround for this bug: jestjs/jest#11438 (comment)

@bmish bmish added the internal label Nov 18, 2022
@bmish bmish force-pushed the split-tests branch 3 times, most recently from cf5f78d to 84e1ba7 Compare November 18, 2022 17:45
@bmish bmish merged commit b6af114 into main Nov 18, 2022
@bmish bmish deleted the split-tests branch November 18, 2022 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Split tests file
2 participants