We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4744898 commit 26970cdCopy full SHA for 26970cd
draft-js-undo-plugin/src/RedoButton/__test__/index.js
@@ -97,7 +97,7 @@ describe('RedoButton', () => {
97
children="redo"
98
/>
99
);
100
- result.find('button').simulate('click');
+ result.find('button').simulate('click', { stopPropagation: ()=> undefined });
101
expect(onChange).to.have.been.calledOnce;
102
});
103
draft-js-undo-plugin/src/UndoButton/__test__/index.js
@@ -96,7 +96,7 @@ describe('UndoButton', () => {
96
0 commit comments