export default { props: { titles: [{ name: 'a', }, { name: 'b' }, { name: 'c' }] }, html: `
a
b
c
`, test({ assert, component, target }) { component.titles = [{ name: 'b' }, { name: 'c' }]; assert.htmlEqual(target.innerHTML, `b
c
`); component.titles = [{ name: 'c' }]; assert.htmlEqual(target.innerHTML, `c
`); } };