export default { data: { animals: [ 'alpaca', 'baboon', 'capybara' ], foo: 'something else' }, html: 'before\n

alpaca

baboon

capybara

\nafter', test ( assert, component, target ) { component.set({ animals: [] }); assert.htmlEqual( target.innerHTML, 'before\n

no animals, but rather something else

\nafter' ); component.set({ foo: 'something other' }); assert.htmlEqual( target.innerHTML, 'before\n

no animals, but rather something other

\nafter' ); component.set({ animals: ['wombat'] }); assert.htmlEqual( target.innerHTML, 'before\n

wombat

\nafter' ); } };