Skip to content

Commit 89211a8

Browse files
author
Prashanth Iyer
committed
Fixing test.
1 parent 078f8f2 commit 89211a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/components/app.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ describe('<app/>', () => {
4343
onCancel={onCancel}
4444
/>);
4545

46-
wrapper.find('.shortcuts .btn-default').at(1).simulate('click');
46+
wrapper.find('.shortcuts .btn-default').at(0).simulate('click');
4747
expect(onCancel).to.have.property('callCount', 1);
4848
});
4949
});

0 commit comments

Comments
 (0)