Skip to content

Commit ea50fe3

Browse files
authored
TestEventsListener - reduce memory pressure (#2724)
Only the last events are needed, so it's enough to keep only the last events by type. Also adds a `.clear()` function to clear the captured events for a deterministic (empty) state for each test case. Also uses a thread-safe collection now.
1 parent 80f0456 commit ea50fe3

File tree

3 files changed

+170
-158
lines changed

3 files changed

+170
-158
lines changed

0 commit comments

Comments
 (0)