export default { props: { target: 'World!', display: true }, html: `

`, async test({ assert, target, window }) { const header = target.querySelector('h1'); const click = new window.MouseEvent('click'); await header.dispatchEvent(click); assert.htmlEqual(target.innerHTML, `

Hello World!

`); } };