Allow quote-reply in thread view element-web (#6959)
This commit is contained in:
parent
d39002338d
commit
694ec946e2
11 changed files with 84 additions and 88 deletions
|
@ -216,6 +216,7 @@ describe('<SendMessageComposer/>', () => {
|
|||
expect(spyDispatcher).toHaveBeenCalledWith({
|
||||
action: "reply_to_event",
|
||||
event: mockEvent,
|
||||
context: TimelineRenderingType.Room,
|
||||
});
|
||||
|
||||
// now try with localStorage wiped out
|
||||
|
@ -277,6 +278,7 @@ describe('<SendMessageComposer/>', () => {
|
|||
expect(spyDispatcher).toHaveBeenCalledWith({
|
||||
action: "reply_to_event",
|
||||
event: null,
|
||||
context: TimelineRenderingType.Room,
|
||||
});
|
||||
|
||||
expect(wrapper.text()).toBe("");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue