import * as assert from 'assert'; export default { data: { visible: true }, html: '
i am visible
', test ( component, target ) { component.set({ visible: false }); assert.equal( target.innerHTML, '' ); component.set({ visible: true }); assert.equal( target.innerHTML, 'i am visible
' ); } };