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