export default { props: { animals: ['alpaca', 'baboon', 'capybara'], foo: 'something else' }, html: ` before

alpaca

baboon

capybara

after `, test({ assert, component, target }) { component.animals = []; assert.htmlEqual(target.innerHTML, ` before

no animals, but rather something else

after `); component.foo = 'something other'; assert.htmlEqual(target.innerHTML, ` before

no animals, but rather something other

after `); component.animals = ['wombat']; assert.htmlEqual(target.innerHTML, ` before

wombat

after `); } };