export default { html: '

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

Hello

'); component.data = 'World'; assert.htmlEqual(target.innerHTML, '

World

'); widget.show = false; assert.htmlEqual(target.innerHTML, '

'); component.data = 'Goodbye'; assert.htmlEqual(target.innerHTML, '

'); widget.show = true; assert.htmlEqual(target.innerHTML, '

Goodbye

'); } };