export default { html: `

count: 10

`, async test({ assert, component, target, window }) { const click = new window.MouseEvent('click'); const button = target.querySelector('button'); await button.dispatchEvent(click); assert.equal(component.x, 11); assert.htmlEqual( target.innerHTML, `

count: 11

` ); await button.dispatchEvent(click); assert.equal(component.x, 12); assert.htmlEqual( target.innerHTML, `

count: 12

` ); } };