export default { html: `
first:
second:
`, async test({ assert, component, target, window }) { const event = new window.MouseEvent('click'); const buttons = target.querySelectorAll('button'); await buttons[1].dispatchEvent(event); assert.htmlEqual(target.innerHTML, `first: 1
second: bar
`); assert.equal(component.first, '1'); assert.equal(component.second, 'bar'); } };