export default { props: { value: '' }, html: `
`, ssrHtml: ` `, async test({ assert, target, window }) { const input = target.querySelector('input'); const event = new window.Event('input'); input.value = 'h'; await input.dispatchEvent(event); assert.equal(input.value, 'H'); assert.htmlEqual(target.innerHTML, `H
`); input.value = 'he'; await input.dispatchEvent(event); assert.equal(input.value, 'HE'); assert.htmlEqual(target.innerHTML, `HE
`); } };