From 50ca71b3a8c343b58027c953f2f762f615a17dd8 Mon Sep 17 00:00:00 2001 From: 0x7B5 Date: Fri, 14 Jun 2024 21:58:45 -0400 Subject: [PATCH] Updating tests. --- src/actions/history.test.js | 2 +- src/actions/index.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/actions/history.test.js b/src/actions/history.test.js index 934834a8..08eddbd2 100644 --- a/src/actions/history.test.js +++ b/src/actions/history.test.js @@ -103,7 +103,7 @@ describe('history middleware', () => { expect(next).toHaveBeenCalledWith(action); expect(store.dispatch).toHaveBeenCalledTimes(1); expect(store.dispatch).toHaveBeenCalledWith(fakeInner); - expect(actionsIndex.pushTimelineRange).toHaveBeenCalledWith("00000000--000f00000d", 1230, 1234, false); + expect(actionsIndex.pushTimelineRange).toHaveBeenCalledWith("00000000--000f00000d", 1230000, 1234000, false); }); it('should call prime nav with history', async () => { diff --git a/src/actions/index.test.js b/src/actions/index.test.js index b34163b9..133accf5 100644 --- a/src/actions/index.test.js +++ b/src/actions/index.test.js @@ -23,6 +23,6 @@ describe('timeline actions', () => { zoom: {}, })); actionThunk(dispatch, getState); - expect(push).toBeCalledWith('/statedongle/log_id/123/1234'); + expect(push).toBeCalledWith('/statedongle/log_id'); }); }); \ No newline at end of file