mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-15 20:54:59 +08:00
fix tests for the new sessionStorage key
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
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
Block a user