export default { props: { value: 'some text' }, html: `

some text

`, ssrHtml: `

some text

`, async test({ assert, component, target, window }) { const textarea = target.querySelector('textarea'); assert.equal(textarea.value, 'some text'); const event = new window.Event('input'); textarea.value = 'hello'; await textarea.dispatchEvent(event); assert.htmlEqual(target.innerHTML, `

hello

`); component.value = 'goodbye'; assert.equal(textarea.value, 'goodbye'); assert.htmlEqual(target.innerHTML, `

goodbye

`); } };