Result: |
Build was successful
Build cashtab-tests completed successfully (Tests passed: 538, ignored: 72)
Build agent: buildagent7 |
Agent: | buildagent7 ( ABC Build Pool pool) |
Time: | 26 Mar 24 13:58 - 14:02 (4m:04s) | Triggered by: | Phabricator Staging on 26 Mar 24 13:57 |
Branch: |
Code coverage
Methods: | 71.2%71.2% | Blocks: | 75.7%75.7% | Lines: | 76%76% |
72 tests ignored
CashTab Unit Tests
(11)
CashTab Unit Tests: Cashtab chronik.js functions Parses supported tx types parseChronikTx
(24)
CashTab Unit Tests: Cashtab chronik.js functions Separates SLP and non-SLP utxos organizeUtxosByType
(4)
CashTab Unit Tests: Cashtab chronik.js functions Sorts and trims chronik tx history sortAndTrimChronikTxHistory
(3)
CashTab Unit Tests: Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats
(5)
CashTab Unit Tests: Cashtab wallet methods Calculates total balance in satoshis from a valid set of chronik utxos getBalanceSats throws error for
(1)
Call with non-Array |
CashTab Unit Tests: Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts satoshis to xec
(3)
0 is 0 |
Total XEC supply |
Total XEC supply less 1 satoshi |
CashTab Unit Tests: Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis Converts xec to satoshis
(3)
0 is 0 |
Total XEC supply |
Total XEC supply less 1 satoshi |
CashTab Unit Tests: Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis toSatoshis throws error for
(1)
Bad XEC amount, too many decimal places |
CashTab Unit Tests: Cashtab wallet methods Converts satoshis to XEC and XEC to satoshis toXec throws error for
(1)
Bad XEC amount, too many decimal places |
CashTab Unit Tests: Cashtab wallet methods Converts string input of fiat send amount to satoshis XEC createCashtabWallet
(6)
CashTab Unit Tests: Cashtab wallet methods Creates a wallet from valid bip39 mnemonic createCashtabWallet
(1)
Creates a Cashtab wallet from a valid bip39 mnemonic |
CashTab Unit Tests: Cashtab wallet methods Determines if the wallet has greater than or equal to a specified qty of a specified token hasEnoughToken
(3)
Returns false if wallet does not have this token |
Returns false if wallet has token but less than required amount |
Returns true if wallet has token in exactly required amount |
CashTab Unit Tests: Cashtab wallet methods Gets expected array when activating a new wallet getWalletsForNewActiveWallet
(2)
Return expected wallets array |
Returns wallets array unchanged if walletToActivate is already wallets[0] |
CashTab Unit Tests: Cashtab wallet methods Gets expected array when activating a new wallet getWalletsForNewActiveWallet throws error for
(1)
Throws error if called with a wallet that is not in wallets |
CashTab Unit Tests: Cashtab wallet methods Gets legacy paths from a legacy wallet requiring migration getLegacyPaths
(3)
Determines legacy paths for a post-2. |
Determines legacy paths for a pre-2. |
Returns an empty array if the wallet contains no legacy paths |
538 tests passed (all tests)