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
2
packages/medusa-test-utils/jest.config.js
Normal file
2
packages/medusa-test-utils/jest.config.js
Normal file
@@ -0,0 +1,2 @@
|
||||
const defineJestConfig = require("../../define_jest_config")
|
||||
module.exports = defineJestConfig({})
|
||||
Reference in New Issue
Block a user