export default { html: `
count: undefined
`, 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, undefined); assert.htmlEqual( target.innerHTML, `count: undefined
` ); await button.dispatchEvent(click); assert.equal(component.x, undefined); assert.htmlEqual( target.innerHTML, `count: undefined
` ); } };