const { UiElement } = require( 'mmv' ); ( function () { QUnit.module( 'mmv.ui', QUnit.newMwEnvironment( { beforeEach: function () { this.clock = this.sandbox.useFakeTimers(); } } ) ); QUnit.test( 'handleEvent()', function ( assert ) { const element = new UiElement( $( '