export default { html: `
color: red
`, test({ assert, component, target, window }) { const p = target.querySelector('p'); let styles = window.getComputedStyle(p); assert.equal(styles.opacity, '0.5'); assert.equal(styles.color, 'red'); component.styles = 'font-size: 20px'; styles = window.getComputedStyle(p); assert.equal(styles.opacity, '0.5'); assert.equal(styles.color, ''); assert.equal(styles.fontSize, '20px'); } };