Skip to content

Commit

Permalink
Updating tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
0x7B5 committed Jun 15, 2024
1 parent a19b09e commit 50ca71b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/actions/history.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand Down
2 changes: 1 addition & 1 deletion src/actions/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
});
});

0 comments on commit 50ca71b

Please sign in to comment.