Skip to content

Commit

Permalink
fix: use correct amount of selects
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoPittella committed Apr 23, 2024
1 parent 41d4189 commit 288ff55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/balance/balance.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ describe("BalanceService", () => {
await service.getBalancesByAddresses(addresses, tokenAddress);
expect(mainQueryBuilderMock.select).toHaveBeenCalledTimes(1);
expect(mainQueryBuilderMock.select).toHaveBeenCalledWith("balances.address");
expect(mainQueryBuilderMock.addSelect).toHaveBeenCalledTimes(3);
expect(mainQueryBuilderMock.addSelect).toHaveBeenCalledTimes(1);
expect(mainQueryBuilderMock.addSelect).toHaveBeenCalledWith("balances.balance");
});

Expand Down

0 comments on commit 288ff55

Please sign in to comment.