We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69badbc commit e1b0aa4Copy full SHA for e1b0aa4
test/button-spec.js
@@ -138,6 +138,6 @@ describe('ButtonIcon', () => {
138
};
139
140
const wrapper = shallow(<ButtonIcon { ...props } />);
141
- expect(wrapper.equals(<Icon { ...expectedProps } />)).toBe(true);
+ expect(wrapper.matchesElement(<Icon { ...expectedProps } />)).toBe(true);
142
});
143
0 commit comments