Skip to content

Commit

Permalink
Update InventoryClient.InventoryRebalance.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholaspai committed Oct 9, 2023
1 parent 955ed09 commit 526cb5f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/InventoryClient.InventoryRebalance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@ describe("InventoryClient: Rebalancing inventory", async function () {
.whenCalledWith(owner.address)
.returns(initialAllocation[1][mainnetUsdc].sub(toMegaWei(1)));
await inventoryClient.rebalanceInventoryIfNeeded();
expect(spyLogIncludes(spy, -2, "Token balance on Ethereum changed")).to.be;
.true;
expect(spyLogIncludes(spy, -2, "Token balance on Ethereum changed")).to.be.true;

// Reset and check again.
mainnetUsdcContract.balanceOf.whenCalledWith(owner.address).returns(initialAllocation[1][mainnetUsdc]);
Expand Down

0 comments on commit 526cb5f

Please sign in to comment.