Hallo,
I implemented a component, which uses the [Plugin-Editor]<INTERNAL_LINK>.
Now I want to write a jest test with enzyme to proof the behaviour of my component.
If it would be a simple Textfield I would write:
editorInput.simulate("change", { target: { value: "Label" } });
But because of the fact, that the PluginEditor uses the DraftJs-Editor, that doesn’t work.
Did anybody had the some issue? And how did you solve it?
Best regards
Nora