From b2d04deb838a302480d0f00080b1f208f5c0ed8b Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 8 Oct 2020 10:04:01 +0100 Subject: [PATCH] fix tests for the new sessionStorage key Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- test/components/views/rooms/SendMessageComposer-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/views/rooms/SendMessageComposer-test.js b/test/components/views/rooms/SendMessageComposer-test.js index fc3193711e..83a9388609 100644 --- a/test/components/views/rooms/SendMessageComposer-test.js +++ b/test/components/views/rooms/SendMessageComposer-test.js @@ -220,7 +220,7 @@ describe('', () => { }); 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(),