Isolated concurrency utility to run specific tests in isolation #3369
blake-mealey
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run my test suite against a shared local DB and I was running into issues with a particular test file which is forced to make some assumptions about the state of the DB while it runs.
I managed to come up with a pretty clean solution for managing this using
@ava/cooperate
:Example usage:
Beta Was this translation helpful? Give feedback.
All reactions