Isolated concurrency utility to run specific tests in isolation #3369
blake-mealey
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
Nice one @blake-mealey, thanks for sharing! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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