chore(medusa-test-utils): Prevent waiting for event indefinately (#12137)
**What** Currently the util await for event infinitely, this can lead to chain crashes in the jest tests suites leading to too much noise to investigate proper issues. We now have a default time out raced against the promise that is configurable to prevent from waiting for an excessive amount of time
This commit is contained in:
committed by
GitHub
parent
8804ca2f9c
commit
6ae1e7b708
5
.changeset/wild-paws-learn.md
Normal file
5
.changeset/wild-paws-learn.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@medusajs/test-utils": patch
|
||||
---
|
||||
|
||||
chore(medusa-test-utils): Prevent waiting for event indefinately
|
||||
Reference in New Issue
Block a user