Skip to content

Commit

Permalink
Amend Jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 committed Feb 22, 2023
1 parent fc62aa9 commit 9f1abab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ describe('useLogSummary hook', () => {
expect(fetchLogSummaryMock).toHaveBeenCalledTimes(1);
expect(fetchLogSummaryMock).toHaveBeenLastCalledWith(
expect.objectContaining({
sourceId: 'INITIAL_SOURCE_ID',
logView: { logViewId: 'INITIAL_SOURCE_ID', type: 'log-view-reference' },
}),
expect.anything()
);
Expand All @@ -74,7 +74,7 @@ describe('useLogSummary hook', () => {
expect(fetchLogSummaryMock).toHaveBeenCalledTimes(2);
expect(fetchLogSummaryMock).toHaveBeenLastCalledWith(
expect.objectContaining({
sourceId: 'CHANGED_SOURCE_ID',
logView: { logViewId: 'CHANGED_SOURCE_ID', type: 'log-view-reference' },
}),
expect.anything()
);
Expand Down

0 comments on commit 9f1abab

Please sign in to comment.