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

feat: make resetting sequences easier in testing #109

Merged
merged 1 commit into from
Mar 24, 2021
Merged

Conversation

eventualbuddha
Copy link
Contributor

When defining factories that use sequences there's no public API for resetting the sequences at the start of every test. This commit adds Factory.resetAll() to make resetting all factory sequences easy, including both named and unnamed factories.

When defining factories that use sequences there's no public API for resetting the sequences at the start of every test. This commit adds `Factory.resetAll()` to make resetting all factory sequences easy, including both named and unnamed factories.
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