Skip to content

Commit

Permalink
fix(history-importer) move check for recent log error to correct place
Browse files Browse the repository at this point in the history
  • Loading branch information
tmrdlt committed Oct 16, 2024
1 parent aaba985 commit 3078c73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('PairLiquidityInfoHistoryImporterService', () => {

expect(
mockPairLiquidityInfoHistoryErrorDb.getErrorWithinHours,
).toHaveBeenCalledTimes(7); // Once for pair and 7 times for each (relevant) event log
).toHaveBeenCalledTimes(8); // Once for pair and 7 times for each (relevant) event log

expect(mockPairLiquidityInfoHistoryDb.upsert).toHaveBeenCalledTimes(5);
expect(
Expand Down Expand Up @@ -235,7 +235,7 @@ describe('PairLiquidityInfoHistoryImporterService', () => {

expect(
mockPairLiquidityInfoHistoryErrorDb.getErrorWithinHours,
).toHaveBeenCalledTimes(3); // Once for pair and 2 times for each event log
).toHaveBeenCalledTimes(5); // Once for pair and 4 times for each event log

expect(
mockPairLiquidityInfoHistoryDb.upsert.mock.calls,
Expand Down

0 comments on commit 3078c73

Please sign in to comment.