-
-
Notifications
You must be signed in to change notification settings - Fork 71
Open
Description
Hello Everyone,
So I'm getting the below error message when trying to run the tests.
expect(wrapper).to.have.style('background-color').equal('#ccc');
- TypeError: (0 , _chai.expect)(...).to.have.style is not a function"
But when I write the code as below, everything works correctly.
expect(wrapper.props().style.backgroundColor).to.be.equal('#ccc');
Any of yours have gone through this before?
alexlukelevy
Metadata
Metadata
Assignees
Labels
No labels