12 lines
410 B

export default {
test({ assert, component, target, window }) {
const [ control, test ] = target.querySelectorAll( 'p' );
assert.equal( window.getComputedStyle( control ).color, '' );
assert.equal( window.getComputedStyle( control ).backgroundColor, '' );
assert.equal( window.getComputedStyle( test ).color, 'red' );
assert.equal( window.getComputedStyle( test ).backgroundColor, 'black' );
}
};