export default { get props() { return { name: 'world' }; }, html: ` world

hello world

`, async test({ assert, component, target, window }) { const el = target.querySelector('editor'); assert.equal(el.textContent, 'world'); const event = new window.Event('input'); el.textContent = 'everybody'; await el.dispatchEvent(event); assert.htmlEqual( target.innerHTML, ` everybody

hello everybody

` ); component.name = 'goodbye'; assert.equal(el.textContent, 'goodbye'); assert.htmlEqual( target.innerHTML, ` goodbye

hello goodbye

` ); } };