export default { html: `
`, test({ assert, component, target, window }) { const [p1, p2] = target.querySelectorAll('p'); assert.equal(window.getComputedStyle(p1).color, 'red'); assert.equal(window.getComputedStyle(p2).color, 'red'); component.color = 'blue'; assert.htmlEqual( target.innerHTML, ` ` ); assert.equal(window.getComputedStyle(p1).color, 'blue'); assert.equal(window.getComputedStyle(p2).color, 'blue'); } };