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 078f8f2 commit 89211a8Copy full SHA for 89211a8
test/components/app.jsx
@@ -43,7 +43,7 @@ describe('<app/>', () => {
43
onCancel={onCancel}
44
/>);
45
46
- wrapper.find('.shortcuts .btn-default').at(1).simulate('click');
+ wrapper.find('.shortcuts .btn-default').at(0).simulate('click');
47
expect(onCancel).to.have.property('callCount', 1);
48
});
49
0 commit comments