export default { props: { x: true }, html: `

foo

`, async test({ assert, component, target, window }) { let input = target.querySelector('input'); input.value = 'abc'; await input.dispatchEvent(new window.Event('input')); assert.equal(component.y, 'abc'); component.x = false; assert.htmlEqual(target.innerHTML, `

bar

`); input = target.querySelector('input'); input.checked = true; await input.dispatchEvent(new window.Event('change')); assert.equal(component.z, true); } };