fix tests for the new sessionStorage key
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
017d2d40fe
commit
b2d04deb83
|
@ -220,7 +220,7 @@ describe('<SendMessageComposer/>', () => {
|
|||
});
|
||||
|
||||
expect(wrapper.text()).toBe("");
|
||||
const str = sessionStorage.getItem(`mx_cider_composer_history_${mockRoom.roomId}[0]`);
|
||||
const str = sessionStorage.getItem(`mx_cider_history_${mockRoom.roomId}[0]`);
|
||||
expect(JSON.parse(str)).toStrictEqual({
|
||||
parts: [{"type": "plain", "text": "This is a message"}],
|
||||
replyEventId: mockEvent.getId(),
|
||||
|
|
Loading…
Reference in New Issue