export default { props: { foo: true, bar: false }, snapshot(target) { const p = target.querySelector('p'); return { p }; }, test(assert, target, _, component) { component.foo = false; component.bar = true; assert.htmlEqual(target.innerHTML, '

bar!

'); } };