export default {
html: `
hello world
`, ssrHtml: `hello undefined
`, async test({ assert, component, target, window }) { assert.equal(component.name, 'world'); const el = target.querySelector('editor'); const event = new window.Event('input'); el.textContent = 'everybody'; await el.dispatchEvent(event); assert.htmlEqual(target.innerHTML, `hello everybody
`); component.name = 'goodbye'; assert.equal(el.textContent, 'goodbye'); assert.htmlEqual(target.innerHTML, `hello goodbye
`); }, };