Attach a single "once" listener to multiple events
A JavaScript implementation of Python's MagicMock. No dependencies, no build system, framework agnostic.