Skip to content

Commit

Permalink
update test;
Browse files Browse the repository at this point in the history
Signed-off-by: tcar <[email protected]>
  • Loading branch information
tcar121293 committed Nov 13, 2023
1 parent c7623cf commit c9cd941
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sdk/test/chains/EVM/assetTransfer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ describe('EVM asset transfer', () => {
expect(approvals.length).toBe(1);
});

it('Should return 2 approval txs if ERC20 token not approved and dynamic fee used', async function () {
it('Should return 1 approval txs if ERC20 token not approved and percentage fee used', async function () {
resourceHandlerFunction.mockResolvedValue('0x03896BaeA3A8CD98E46C576AF6Ceaffb69a51AFB');
getAllowanceMock.mockResolvedValue(BigNumber.from('0'));
approveMock.mockResolvedValue({});
Expand All @@ -234,7 +234,7 @@ describe('EVM asset transfer', () => {
};
const approvals = await assetTransfer.buildApprovals(transfer, fee);

expect(approvals.length).toBe(2);
expect(approvals.length).toBe(1);
});

it('Should return empty array if ERC721 token already approved', async function () {
Expand Down

0 comments on commit c9cd941

Please sign in to comment.