export default {
props: {
things: [
{ num: 1 },
{ num: 2 },
{ num: 3 }
]
},
html: `
1
2
3
`,
test({ assert, component, target }) {
component.things = [
{ num: 1 },
{ num: 2 },
{ num: 3 },
{ num: 4 }
];
assert.htmlEqual(target.innerHTML, `
1
2
3
4
`);
}
};