fix test missing required prop

pull/21833/head
Michael Telatynski 2021-07-07 18:12:31 +01:00
parent b9a539eaa2
commit 4a6af5a4d7
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ describe("<TextualBody />", () => {
event: true,
});
const wrapper = mount(<TextualBody mxEvent={ev} showUrlPreview={true} />);
const wrapper = mount(<TextualBody mxEvent={ev} showUrlPreview={true} onHeightChanged={() => {}} />);
expect(wrapper.text()).toBe(ev.getContent().body);
let widgets = wrapper.find("LinkPreviewWidget");