Replies: 2 comments 1 reply
-
As of this writing, I'm using bun If this assumption about sequential execution is incorrect, someone please let me know. |
Beta Was this translation helpful? Give feedback.
-
While the docs do say that tests should run sequentially, they are not running sequentially. I am observing race conditions due to my tests being dependent on database state as well. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to force bun to run tests sequentially?
My tests are dependent on database state, and some fail when running
bun test
. I suspect this is caused by race conditions from running tests concurrently. When i run the failing tests in isolation, however, they pass.Running the tests with Jest works fine, although execution is a lot slower.
Beta Was this translation helpful? Give feedback.
All reactions