Skip to content

Commit

Permalink
Remove unneeded test prop
Browse files Browse the repository at this point in the history
  • Loading branch information
thibaudcolas committed Jan 7, 2019
1 parent 8b35f76 commit d48d667
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/components/DraftailEditor.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,10 +449,7 @@ describe("DraftailEditor", () => {

it("#onBlur", () => {
const onBlur = jest.fn();
const onSave = jest.fn();
const wrapper = shallowNoLifecycle(
<DraftailEditor onBlur={onBlur} onSave={onSave} />,
);
const wrapper = shallowNoLifecycle(<DraftailEditor onBlur={onBlur} />);

wrapper.instance().onBlur();

Expand Down

0 comments on commit d48d667

Please sign in to comment.