Clean up event hub after each spec
What does this MR do?
There was a Jest memory leak identified in !33588 (merged). This MR attempts to clean this up by adding an adapter to mitt
and removing old event listeners after each spec.
Screenshots
node --expose-gc ./node_modules/.bin/jest --runInBand --logHeapUsage
Before, this would just grow and grow and grow and grow