export default { html: `

fromDom:

fromState:

`, 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, `

fromDom: bar

fromState: bar

`); assert.equal(component.fromDom, 'bar'); assert.equal(component.fromState, 'bar'); } };