export default { html: `

`, test({ assert, component, target, window }) { const p = target.querySelector('p'); const styles = window.getComputedStyle(p); assert.equal(styles.color, 'blue'); assert.equal(styles.width, '65px'); assert.equal(p.id, 'my-id'); component.color = 'red'; assert.htmlEqual( target.innerHTML, '

' ); component.obj = { style: 'height: 72px;' }; assert.htmlEqual( target.innerHTML, '

' ); component.obj = { style: 'border-radius: 2px; color: orange' }; assert.htmlEqual( target.innerHTML, '

' ); component.obj = {}; assert.htmlEqual(target.innerHTML, '

'); } };