Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmaLRussell committed Oct 27, 2023
1 parent 0461a0e commit 2e26ff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/static/tests/unit/localStorageManager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
});

Expand Down

0 comments on commit 2e26ff6

Please sign in to comment.