Skip to content

Commit a868c1a

Browse files
authored
Merge pull request #36323 from ruben-rebelo/ts-migration/unit-paymentutils
[TS migration] Migrate PaymentUtilsTest to Typescript
2 parents 0a2ece8 + ba85bc6 commit a868c1a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/unit/PaymentUtilsTest.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

tests/unit/PaymentUtilsTest.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import CONST from '@src/CONST';
2+
import {calculateWalletTransferBalanceFee} from '@src/libs/PaymentUtils';
3+
4+
describe('PaymentUtils', () => {
5+
it('Test rounding wallet transfer instant fee', () => {
6+
expect(calculateWalletTransferBalanceFee(2100, CONST.WALLET.TRANSFER_METHOD_TYPE.INSTANT)).toBe(32);
7+
});
8+
});

0 commit comments

Comments
 (0)