export default { props: { count: 42, }, html: `
number 42
`, ssrHtml: `number 42
`, async test({ assert, component, target, window }) { const input = target.querySelector('input'); assert.equal(input.value, '42'); const event = new window.Event('change'); input.value = '43'; await input.dispatchEvent(event); assert.equal(component.count, 43); assert.htmlEqual(target.innerHTML, `number 43
`); component.count = 44; assert.equal(input.value, '44'); assert.htmlEqual(target.innerHTML, `number 44
`); }, };