Skip to content

Commit

Permalink
fix test to include transfer_fee calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
urieltan committed Oct 23, 2024
1 parent 17cd1b1 commit 41c9634
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/locker_utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,8 +635,8 @@ export async function cancelVestingPlan(
const recipient_token_balance = (
await program.provider.connection.getTokenAccountBalance(recipientToken)
).value.amount;
expect(parseInt(recipient_token_balance_before) + claimable_amount).eq(
parseInt(recipient_token_balance)
);
expect(
parseInt(recipient_token_balance_before) + claimable_amount - claimer_fee
).eq(parseInt(recipient_token_balance));
}
}

0 comments on commit 41c9634

Please sign in to comment.