mirror of
https://github.com/hanzoai/Detox.git
synced 2026-09-24 16:55:12 +00:00
fix(jest): stabilize artifacts flushing (#4367)
This commit is contained in:
committed by
GitHub
parent
4780130097
commit
90eace2875
@@ -64,7 +64,8 @@ class DetoxCircusEnvironment extends WithEmitter(NodeEnvironment) {
|
||||
WorkerAssignReporter,
|
||||
});
|
||||
|
||||
this.testEvents.on('*', this._onTestEvent.bind(this));
|
||||
// Artifacts flushing should be delayed to avoid conflicts with third-party reporters
|
||||
this.testEvents.on('*', this._onTestEvent.bind(this), 1e6);
|
||||
}
|
||||
|
||||
/** @override */
|
||||
|
||||
Reference in New Issue
Block a user