export default { html: `
`, ssrHtml: `
`, props: { todos: { first: { description: 'Buy some milk', done: true }, second: { description: 'Do the laundry', done: true }, third: { description: "Find life's true purpose", done: false } } }, async test({ assert, component, target, window }) { const input = document.querySelectorAll('input[type="checkbox"]')[2]; const change = new window.Event('change'); input.checked = true; await input.dispatchEvent(change); assert.ok(component.todos.third.done); assert.htmlEqual(target.innerHTML, `
`); } };