export default { html: '

', test ( assert, component, target ) { const widget = component.refs.widget; assert.equal( widget.get( 'show' ), false ); widget.set({show: true}); assert.htmlEqual( target.innerHTML, '

Hello

' ); component.set({data: 'World'}); assert.htmlEqual( target.innerHTML, '

World

' ); widget.set({show: false}); assert.htmlEqual( target.innerHTML, '

' ); component.set({data: 'Goodbye'}); assert.htmlEqual( target.innerHTML, '

' ); widget.set({show: true}); assert.htmlEqual( target.innerHTML, '

Goodbye

' ); } };