export default { data: { prop: 'name', user: { name: 'alice', }, }, html: `
hello alice
`, ssrHtml: `hello alice
`, test(assert, component, target, window) { const input = target.querySelector('input'); assert.equal(input.value, 'alice'); const event = new window.Event('input'); input.value = 'bob'; input.dispatchEvent(event); assert.htmlEqual(target.innerHTML, `hello bob
`); const user = component.get().user; user.name = 'carol'; component.set({ user }); assert.equal(input.value, 'carol'); assert.htmlEqual(target.innerHTML, `hello carol
`); }, };