mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 04:06:44 +02:00
fix test missing required prop
This commit is contained in:
parent
b9a539eaa2
commit
4a6af5a4d7
@ -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");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user