Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
ZumZoom committed Dec 24, 2024
1 parent 6902c83 commit 6eba3a8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/FeeTaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,11 @@ describe('FeeTaker', function () {
const protocolFeeCalculated = takingAmount * (integratorFee / 2n + resolverFee / 2n) / BigInt(1e5);
const totalFeeCalculated = protocolFeeCalculated + integratorFeeCalculated;
await expect(fillTx).to.changeTokenBalances(dai, [addr, addr1], [makingAmount, -makingAmount]);
await expect(fillTx).to.changeTokenBalances(weth, [addr, addr1, integratorFeeRecipient, protocolFeeRecipient], [-takingAmount - totalFeeCalculated, takingAmount, integratorFeeCalculated, protocolFeeCalculated]);
await expect(fillTx).to.changeTokenBalances(
weth,
[addr, addr1, integratorFeeRecipient, protocolFeeRecipient],
[-takingAmount - totalFeeCalculated, takingAmount, integratorFeeCalculated, protocolFeeCalculated],
);
});

it('should charge fee when out of whitelist', async function () {
Expand Down

0 comments on commit 6eba3a8

Please sign in to comment.