From 2e26ff638e42ed9163c3275cc7d81c14d628daf2 Mon Sep 17 00:00:00 2001 From: EmmaLRussell Date: Fri, 27 Oct 2023 15:36:23 +0100 Subject: [PATCH] lint --- app/static/tests/unit/localStorageManager.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/static/tests/unit/localStorageManager.test.ts b/app/static/tests/unit/localStorageManager.test.ts index 6f9281f44..ba1dcec96 100644 --- a/app/static/tests/unit/localStorageManager.test.ts +++ b/app/static/tests/unit/localStorageManager.test.ts @@ -37,7 +37,7 @@ describe("localStorageManager for sessions", () => { }); it("can add session id when basePath is not empty", () => { - localStorageManager.addSessionId("day1", "testInstance","session3"); + localStorageManager.addSessionId("day1", "testInstance", "session3"); expect(spyOnGetItem).toHaveBeenCalledTimes(1); expect(spyOnSetItem).toHaveBeenCalledTimes(1); expect(spyOnSetItem.mock.calls[0][0]).toBe("testInstance_day1_sessionIds"); @@ -69,7 +69,7 @@ describe("localStorageManager gets and saves user preferences", () => { it("can get user preferences", () => { const result = localStorageManager.getUserPreferences(); - expect(result).toStrictEqual({showUnlabelledSessions: false, showDuplicateSessions: true}); + expect(result).toStrictEqual({ showUnlabelledSessions: false, showDuplicateSessions: true }); expect(spyOnGetItem).toHaveBeenCalledWith("preferences"); });