feat: expose feeCalculator
This commit is contained in:
@@ -137,11 +137,11 @@ test('transaction-payer', async () => {
|
||||
},
|
||||
]);
|
||||
|
||||
// accountPayer should be less less than 100 as it paid for the transaction
|
||||
// accountPayer could be less than 100 as it paid for the transaction
|
||||
// (exact amount less depends on the current cluster fees)
|
||||
const balance = await connection.getBalance(accountPayer.publicKey);
|
||||
expect(balance).toBeGreaterThan(0);
|
||||
expect(balance).toBeLessThanOrEqual(99);
|
||||
expect(balance).toBeLessThanOrEqual(100);
|
||||
|
||||
// accountFrom should have exactly 2, since it didn't pay for the transaction
|
||||
mockRpc.push([
|
||||
|
||||
Reference in New Issue
Block a user