I am trying to test a style attribute for a React component. What is the best way to get style params in the test?
At this moment, my best option is to test if the H
expect(component.find('#item-id').prop('style')).to.deep.equal({display: 'none'})