let count = 0; let value = 'foo'; export default { props: { value() { count++; return value; } }, before_test() { count = 0; }, html: `
foo
foo
`, test({ assert, component, target }) { value = 'bar'; component.id = 1; assert.equal(count, 4); assert.htmlEqual(target.innerHTML, `
bar
bar
`); } };