export default { html: ` `, async test({ assert, target, window }) { const button = target.querySelector('button'); const eventEnter = new window.MouseEvent('mouseenter'); const eventLeave = new window.MouseEvent('mouseleave'); await button.dispatchEvent(eventEnter); assert.htmlEqual( target.innerHTML, `
Perform an Action
` ); await button.dispatchEvent(eventLeave); assert.htmlEqual( target.innerHTML, ` ` ); } };