Skip to content

ci: Update CODEOWNERS (#854) #85

ci: Update CODEOWNERS (#854)

ci: Update CODEOWNERS (#854) #85

GitHub Actions / Wallet Snap Unit Test Results succeeded Dec 17, 2024 in 0s

All 193 tests pass in 1m 28s

193 tests  ±0   193 ✅ ±0   1m 28s ⏱️ +2s
  7 suites ±0     0 💤 ±0 
  1 files   ±0     0 ❌ ±0 

Results for commit c0f8da8. ± Comparison against earlier commit 1831acd.

Annotations

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Wallet Snap Unit Test Results

193 tests found

There are 193 tests, see "Raw output" for the full list of tests.
Raw output
FeeUtils.calculateHederaQueryFees should calculate correct service fees and max cost ‑ FeeUtils.calculateHederaQueryFees should calculate correct service fees and max cost
FeeUtils.calculateHederaQueryFees should calculate zero fees correctly when query cost is zero ‑ FeeUtils.calculateHederaQueryFees should calculate zero fees correctly when query cost is zero
FeeUtils.calculateHederaQueryFees should handle fractional costs correctly ‑ FeeUtils.calculateHederaQueryFees should handle fractional costs correctly
FetchUtils fetches data successfully from a URL ‑ FetchUtils fetches data successfully from a URL
FetchUtils handles fetch error from a URL ‑ FetchUtils handles fetch error from a URL
HederaUtils.checkAtomicSwapTransfers should throw if "amount" is not 1 for NFT ‑ HederaUtils.checkAtomicSwapTransfers should throw if "amount" is not 1 for NFT
HederaUtils.checkAtomicSwapTransfers should throw if "amount" is not a number ‑ HederaUtils.checkAtomicSwapTransfers should throw if "amount" is not a number
HederaUtils.checkAtomicSwapTransfers should throw if "assetId" is missing for TOKEN and NFT ‑ HederaUtils.checkAtomicSwapTransfers should throw if "assetId" is missing for TOKEN and NFT
HederaUtils.checkAtomicSwapTransfers should throw if "to" address is missing ‑ HederaUtils.checkAtomicSwapTransfers should throw if "to" address is missing
HederaUtils.checkAtomicSwapTransfers should throw if assetType is missing ‑ HederaUtils.checkAtomicSwapTransfers should throw if assetType is missing
HederaUtils.checkAtomicSwapTransfers should validate HBAR transfer correctly ‑ HederaUtils.checkAtomicSwapTransfers should validate HBAR transfer correctly
HederaUtils.checkAtomicSwapTransfers should validate NFT transfer correctly ‑ HederaUtils.checkAtomicSwapTransfers should validate NFT transfer correctly
HederaUtils.checkAtomicSwapTransfers should validate TOKEN transfer correctly ‑ HederaUtils.checkAtomicSwapTransfers should validate TOKEN transfer correctly
HederaUtils.checkRequiredProperty should not throw if property is missing and isRequired is false ‑ HederaUtils.checkRequiredProperty should not throw if property is missing and isRequired is false
HederaUtils.checkRequiredProperty should not throw if property is present and isRequired is false ‑ HederaUtils.checkRequiredProperty should not throw if property is present and isRequired is false
HederaUtils.checkRequiredProperty should not throw if property is present and isRequired is true ‑ HederaUtils.checkRequiredProperty should not throw if property is present and isRequired is true
HederaUtils.checkRequiredProperty should throw if property is missing and isRequired is true ‑ HederaUtils.checkRequiredProperty should throw if property is missing and isRequired is true
HederaUtils.checkRequiredProperty should throw with a detailed error message if property is missing ‑ HederaUtils.checkRequiredProperty should throw with a detailed error message if property is missing
HederaUtils.checkValidAccountId should pass if the property is a valid Hedera AccountId ‑ HederaUtils.checkValidAccountId should pass if the property is a valid Hedera AccountId
HederaUtils.checkValidAccountId should throw an error if the property is not a valid Hedera AccountId ‑ HederaUtils.checkValidAccountId should throw an error if the property is not a valid Hedera AccountId
HederaUtils.checkValidBoolean should pass if the property is a valid boolean ‑ HederaUtils.checkValidBoolean should pass if the property is a valid boolean
HederaUtils.checkValidBoolean should throw an error if the property is not a boolean ‑ HederaUtils.checkValidBoolean should throw an error if the property is not a boolean
HederaUtils.checkValidNumber should not throw if number is missing and isRequired is false ‑ HederaUtils.checkValidNumber should not throw if number is missing and isRequired is false
HederaUtils.checkValidNumber should throw if number is missing and isRequired is true ‑ HederaUtils.checkValidNumber should throw if number is missing and isRequired is true
HederaUtils.checkValidNumber should throw if number is negative ‑ HederaUtils.checkValidNumber should throw if number is negative
HederaUtils.checkValidNumber should throw if number is not a number ‑ HederaUtils.checkValidNumber should throw if number is not a number
HederaUtils.checkValidNumber should validate decimal numbers correctly ‑ HederaUtils.checkValidNumber should validate decimal numbers correctly
HederaUtils.checkValidNumber should validate when a valid number is provided ‑ HederaUtils.checkValidNumber should validate when a valid number is provided
HederaUtils.checkValidNumber should validate zero as a valid number ‑ HederaUtils.checkValidNumber should validate zero as a valid number
HederaUtils.checkValidPublicKey should not throw if publicKey is missing and isRequired is false ‑ HederaUtils.checkValidPublicKey should not throw if publicKey is missing and isRequired is false
HederaUtils.checkValidPublicKey should throw if publicKey is empty ‑ HederaUtils.checkValidPublicKey should throw if publicKey is empty
HederaUtils.checkValidPublicKey should throw if publicKey is missing and isRequired is true ‑ HederaUtils.checkValidPublicKey should throw if publicKey is missing and isRequired is true
HederaUtils.checkValidPublicKey should throw if publicKey is not a string ‑ HederaUtils.checkValidPublicKey should throw if publicKey is not a string
HederaUtils.checkValidPublicKey should validate when a valid publicKey is provided ‑ HederaUtils.checkValidPublicKey should validate when a valid publicKey is provided
HederaUtils.checkValidString should pass if the property is a valid string ‑ HederaUtils.checkValidString should pass if the property is a valid string
HederaUtils.checkValidString should throw an error if the property is not a string ‑ HederaUtils.checkValidString should throw an error if the property is not a string
HederaUtils.checkValidString should throw an error if the required string property is missing ‑ HederaUtils.checkValidString should throw an error if the required string property is missing
HederaUtils.checkValidTimestamp should not throw if timestamp is missing and isRequired is false ‑ HederaUtils.checkValidTimestamp should not throw if timestamp is missing and isRequired is false
HederaUtils.checkValidTimestamp should throw if timestamp format is invalid ‑ HederaUtils.checkValidTimestamp should throw if timestamp format is invalid
HederaUtils.checkValidTimestamp should throw if timestamp is missing and isRequired is true ‑ HederaUtils.checkValidTimestamp should throw if timestamp is missing and isRequired is true
HederaUtils.checkValidTimestamp should throw if timestamp is not a string ‑ HederaUtils.checkValidTimestamp should throw if timestamp is not a string
HederaUtils.checkValidTimestamp should validate when a valid timestamp is provided ‑ HederaUtils.checkValidTimestamp should validate when a valid timestamp is provided
HederaUtils.getNetworkInfoFromUser should return correct network and mirrorNodeUrl for provided valid network ‑ HederaUtils.getNetworkInfoFromUser should return correct network and mirrorNodeUrl for provided valid network
HederaUtils.getNetworkInfoFromUser should return mainnet info when no params are provided ‑ HederaUtils.getNetworkInfoFromUser should return mainnet info when no params are provided
HederaUtils.getNetworkInfoFromUser should throw an error for invalid network ‑ HederaUtils.getNetworkInfoFromUser should throw an error for invalid network
HederaUtils.getNetworkInfoFromUser should validate and set custom mirrorNodeUrl if provided ‑ HederaUtils.getNetworkInfoFromUser should validate and set custom mirrorNodeUrl if provided
HederaUtils.isExternalAccountFlagSet should return false if accountIdOrEvmAddress is empty ‑ HederaUtils.isExternalAccountFlagSet should return false if accountIdOrEvmAddress is empty
HederaUtils.isExternalAccountFlagSet should return false if accountIdOrEvmAddress is missing ‑ HederaUtils.isExternalAccountFlagSet should return false if accountIdOrEvmAddress is missing
HederaUtils.isExternalAccountFlagSet should return false if curve is incorrect ‑ HederaUtils.isExternalAccountFlagSet should return false if curve is incorrect
HederaUtils.isExternalAccountFlagSet should return false if externalAccount is missing ‑ HederaUtils.isExternalAccountFlagSet should return false if externalAccount is missing
HederaUtils.isExternalAccountFlagSet should return false if externalAccount is null ‑ HederaUtils.isExternalAccountFlagSet should return false if externalAccount is null
HederaUtils.isExternalAccountFlagSet should return true when external account flag is set correctly ‑ HederaUtils.isExternalAccountFlagSet should return true when external account flag is set correctly
HederaUtils.isValidApproveAllowanceParams should throw if amount is not provided ‑ HederaUtils.isValidApproveAllowanceParams should throw if amount is not provided
HederaUtils.isValidApproveAllowanceParams should throw if assetType is missing ‑ HederaUtils.isValidApproveAllowanceParams should throw if assetType is missing
HederaUtils.isValidApproveAllowanceParams should throw if assetType is not one of the valid types ‑ HederaUtils.isValidApproveAllowanceParams should throw if assetType is not one of the valid types
HederaUtils.isValidApproveAllowanceParams should throw if spenderAccountId is missing ‑ HederaUtils.isValidApproveAllowanceParams should throw if spenderAccountId is missing
HederaUtils.isValidApproveAllowanceParams should validate when all valid NFT parameters are provided ‑ HederaUtils.isValidApproveAllowanceParams should validate when all valid NFT parameters are provided
HederaUtils.isValidApproveAllowanceParams should validate when all valid TOKEN parameters are provided ‑ HederaUtils.isValidApproveAllowanceParams should validate when all valid TOKEN parameters are provided
HederaUtils.isValidAssociateTokensParams handles null and undefined inputs gracefully ‑ HederaUtils.isValidAssociateTokensParams handles null and undefined inputs gracefully
HederaUtils.isValidAssociateTokensParams throws an error if any element in tokenIds array is not a string ‑ HederaUtils.isValidAssociateTokensParams throws an error if any element in tokenIds array is not a string
HederaUtils.isValidAssociateTokensParams throws an error if tokenIds array is empty ‑ HederaUtils.isValidAssociateTokensParams throws an error if tokenIds array is empty
HederaUtils.isValidAssociateTokensParams throws an error if tokenIds is missing ‑ HederaUtils.isValidAssociateTokensParams throws an error if tokenIds is missing
HederaUtils.isValidAssociateTokensParams throws an error if tokenIds is not an array ‑ HederaUtils.isValidAssociateTokensParams throws an error if tokenIds is not an array
HederaUtils.isValidAssociateTokensParams validates successfully with a valid array of tokenIds ‑ HederaUtils.isValidAssociateTokensParams validates successfully with a valid array of tokenIds
HederaUtils.isValidBurnTokenParams should throw if "amount" is included with NFT assetType ‑ HederaUtils.isValidBurnTokenParams should throw if "amount" is included with NFT assetType
HederaUtils.isValidBurnTokenParams should throw if "amount" is zero or less for TOKEN ‑ HederaUtils.isValidBurnTokenParams should throw if "amount" is zero or less for TOKEN
HederaUtils.isValidBurnTokenParams should throw if "serialNumbers" are missing for NFT ‑ HederaUtils.isValidBurnTokenParams should throw if "serialNumbers" are missing for NFT
HederaUtils.isValidBurnTokenParams should throw if "serialNumbers" are not provided correctly for NFTs ‑ HederaUtils.isValidBurnTokenParams should throw if "serialNumbers" are not provided correctly for NFTs
HederaUtils.isValidBurnTokenParams should throw if required parameters are missing ‑ HederaUtils.isValidBurnTokenParams should throw if required parameters are missing
HederaUtils.isValidBurnTokenParams should validate fungible token parameters correctly ‑ HederaUtils.isValidBurnTokenParams should validate fungible token parameters correctly
HederaUtils.isValidBurnTokenParams should validate non-fungible token parameters correctly ‑ HederaUtils.isValidBurnTokenParams should validate non-fungible token parameters correctly
HederaUtils.isValidCreateTokenParams should throw if "decimals" is not zero for NFT ‑ HederaUtils.isValidCreateTokenParams should throw if "decimals" is not zero for NFT
HederaUtils.isValidCreateTokenParams should throw if "initialSupply" is not zero for NFT ‑ HederaUtils.isValidCreateTokenParams should throw if "initialSupply" is not zero for NFT
HederaUtils.isValidCreateTokenParams should throw if "maxSupply" is undefined when supplyType is FINITE ‑ HederaUtils.isValidCreateTokenParams should throw if "maxSupply" is undefined when supplyType is FINITE
HederaUtils.isValidCreateTokenParams should throw if "supplyType" is not one of the predefined values ‑ HederaUtils.isValidCreateTokenParams should throw if "supplyType" is not one of the predefined values
HederaUtils.isValidCreateTokenParams should throw if required parameters are missing ‑ HederaUtils.isValidCreateTokenParams should throw if required parameters are missing
HederaUtils.isValidCreateTokenParams should validate fungible token parameters correctly ‑ HederaUtils.isValidCreateTokenParams should validate fungible token parameters correctly
HederaUtils.isValidCreateTokenParams should validate non-fungible token parameters correctly ‑ HederaUtils.isValidCreateTokenParams should validate non-fungible token parameters correctly
HederaUtils.isValidDeleteAccountParams should throw if transferAccountId format is invalid ‑ HederaUtils.isValidDeleteAccountParams should throw if transferAccountId format is invalid
HederaUtils.isValidDeleteAccountParams should throw if transferAccountId is missing ‑ HederaUtils.isValidDeleteAccountParams should throw if transferAccountId is missing
HederaUtils.isValidDeleteAccountParams should validate when a valid transferAccountId is provided ‑ HederaUtils.isValidDeleteAccountParams should validate when a valid transferAccountId is provided
HederaUtils.isValidDeleteAllowanceParams should throw if assetId is missing for TOKEN ‑ HederaUtils.isValidDeleteAllowanceParams should throw if assetId is missing for TOKEN
HederaUtils.isValidDeleteAllowanceParams should throw if assetId is provided for HBAR ‑ HederaUtils.isValidDeleteAllowanceParams should throw if assetId is provided for HBAR
HederaUtils.isValidDeleteAllowanceParams should throw if assetType is missing ‑ HederaUtils.isValidDeleteAllowanceParams should throw if assetType is missing
HederaUtils.isValidDeleteAllowanceParams should throw if assetType is not HBAR, TOKEN, or NFT ‑ HederaUtils.isValidDeleteAllowanceParams should throw if assetType is not HBAR, TOKEN, or NFT
HederaUtils.isValidDeleteAllowanceParams should throw if spenderAccountId is missing ‑ HederaUtils.isValidDeleteAllowanceParams should throw if spenderAccountId is missing
HederaUtils.isValidDeleteAllowanceParams should validate for HBAR without assetId ‑ HederaUtils.isValidDeleteAllowanceParams should validate for HBAR without assetId
HederaUtils.isValidDeleteAllowanceParams should validate when all valid parameters are provided for TOKEN ‑ HederaUtils.isValidDeleteAllowanceParams should validate when all valid parameters are provided for TOKEN
HederaUtils.isValidDeleteAllowanceParams should validate with all parameters correct for NFT ‑ HederaUtils.isValidDeleteAllowanceParams should validate with all parameters correct for NFT
HederaUtils.isValidDissociateTokensParams handles null and undefined inputs gracefully ‑ HederaUtils.isValidDissociateTokensParams handles null and undefined inputs gracefully
HederaUtils.isValidDissociateTokensParams throws an error if any element in tokenIds array is not a string ‑ HederaUtils.isValidDissociateTokensParams throws an error if any element in tokenIds array is not a string
HederaUtils.isValidDissociateTokensParams throws an error if tokenIds array is empty ‑ HederaUtils.isValidDissociateTokensParams throws an error if tokenIds array is empty
HederaUtils.isValidDissociateTokensParams throws an error if tokenIds is missing ‑ HederaUtils.isValidDissociateTokensParams throws an error if tokenIds is missing
HederaUtils.isValidDissociateTokensParams throws an error if tokenIds is not an array ‑ HederaUtils.isValidDissociateTokensParams throws an error if tokenIds is not an array
HederaUtils.isValidDissociateTokensParams validates successfully with a valid array of tokenIds ‑ HederaUtils.isValidDissociateTokensParams validates successfully with a valid array of tokenIds
HederaUtils.isValidFreezeOrEnableKYCAccountParams handles empty strings for tokenId and accountId ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams handles empty strings for tokenId and accountId
HederaUtils.isValidFreezeOrEnableKYCAccountParams handles null and undefined inputs gracefully ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams handles null and undefined inputs gracefully
HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if accountId is missing ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if accountId is missing
HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if accountId is not a valid string ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if accountId is not a valid string
HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if tokenId is missing ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if tokenId is missing
HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if tokenId is not a valid string ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams throws an error if tokenId is not a valid string
HederaUtils.isValidFreezeOrEnableKYCAccountParams validates successfully with valid tokenId and accountId ‑ HederaUtils.isValidFreezeOrEnableKYCAccountParams validates successfully with valid tokenId and accountId
HederaUtils.isValidGetAccountInfoRequest should handle optional fetchUsingMirrorNode correctly ‑ HederaUtils.isValidGetAccountInfoRequest should handle optional fetchUsingMirrorNode correctly
HederaUtils.isValidGetAccountInfoRequest should throw if accountId is empty ‑ HederaUtils.isValidGetAccountInfoRequest should throw if accountId is empty
HederaUtils.isValidGetAccountInfoRequest should throw if serviceFee structure is invalid ‑ HederaUtils.isValidGetAccountInfoRequest should throw if serviceFee structure is invalid
HederaUtils.isValidGetAccountInfoRequest should validate if fetchUsingMirrorNode is a boolean ‑ HederaUtils.isValidGetAccountInfoRequest should validate if fetchUsingMirrorNode is a boolean
HederaUtils.isValidGetAccountInfoRequest should validate serviceFee structure if present ‑ HederaUtils.isValidGetAccountInfoRequest should validate serviceFee structure if present
HederaUtils.isValidGetAccountInfoRequest should validate when valid accountId is provided ‑ HederaUtils.isValidGetAccountInfoRequest should validate when valid accountId is provided
HederaUtils.isValidGetTransactionsParams should throw if transactionId is empty ‑ HederaUtils.isValidGetTransactionsParams should throw if transactionId is empty
HederaUtils.isValidGetTransactionsParams should validate when a valid transactionId is provided ‑ HederaUtils.isValidGetTransactionsParams should validate when a valid transactionId is provided
HederaUtils.isValidInitiateSwapParams should throw if atomic swap elements are incomplete ‑ HederaUtils.isValidInitiateSwapParams should throw if atomic swap elements are incomplete
HederaUtils.isValidInitiateSwapParams should throw if atomicSwaps is empty or not an array ‑ HederaUtils.isValidInitiateSwapParams should throw if atomicSwaps is empty or not an array
HederaUtils.isValidInitiateSwapParams should throw if maxFee is not a number ‑ HederaUtils.isValidInitiateSwapParams should throw if maxFee is not a number
HederaUtils.isValidInitiateSwapParams should throw if memo is missing ‑ HederaUtils.isValidInitiateSwapParams should throw if memo is missing
HederaUtils.isValidInitiateSwapParams should throw if serviceFee is invalid ‑ HederaUtils.isValidInitiateSwapParams should throw if serviceFee is invalid
HederaUtils.isValidInitiateSwapParams should validate when all valid parameters are provided ‑ HederaUtils.isValidInitiateSwapParams should validate when all valid parameters are provided
HederaUtils.isValidMintTokenParams should throw if "amount" is provided for NFT ‑ HederaUtils.isValidMintTokenParams should throw if "amount" is provided for NFT
HederaUtils.isValidMintTokenParams should throw if "amount" is zero or negative for TOKEN ‑ HederaUtils.isValidMintTokenParams should throw if "amount" is zero or negative for TOKEN
HederaUtils.isValidMintTokenParams should throw if invalid metadata array for NFTs ‑ HederaUtils.isValidMintTokenParams should throw if invalid metadata array for NFTs
HederaUtils.isValidMintTokenParams should throw if metadata is missing for NFTs ‑ HederaUtils.isValidMintTokenParams should throw if metadata is missing for NFTs
HederaUtils.isValidMintTokenParams should throw if required parameters are missing for tokens ‑ HederaUtils.isValidMintTokenParams should throw if required parameters are missing for tokens
HederaUtils.isValidMintTokenParams should validate fungible token parameters correctly ‑ HederaUtils.isValidMintTokenParams should validate fungible token parameters correctly
HederaUtils.isValidMintTokenParams should validate non-fungible token parameters correctly ‑ HederaUtils.isValidMintTokenParams should validate non-fungible token parameters correctly
HederaUtils.isValidPauseOrDeleteTokenParams handles null and undefined inputs gracefully ‑ HederaUtils.isValidPauseOrDeleteTokenParams handles null and undefined inputs gracefully
HederaUtils.isValidPauseOrDeleteTokenParams throws an error if tokenId is an empty string ‑ HederaUtils.isValidPauseOrDeleteTokenParams throws an error if tokenId is an empty string
HederaUtils.isValidPauseOrDeleteTokenParams throws an error if tokenId is missing ‑ HederaUtils.isValidPauseOrDeleteTokenParams throws an error if tokenId is missing
HederaUtils.isValidPauseOrDeleteTokenParams throws an error if tokenId is not a valid string ‑ HederaUtils.isValidPauseOrDeleteTokenParams throws an error if tokenId is not a valid string
HederaUtils.isValidPauseOrDeleteTokenParams validates successfully with a valid tokenId ‑ HederaUtils.isValidPauseOrDeleteTokenParams validates successfully with a valid tokenId
HederaUtils.isValidServiceFee should throw if percentageCut is missing ‑ HederaUtils.isValidServiceFee should throw if percentageCut is missing
HederaUtils.isValidServiceFee should throw if percentageCut is negative ‑ HederaUtils.isValidServiceFee should throw if percentageCut is negative
HederaUtils.isValidServiceFee should throw if percentageCut is not a number ‑ HederaUtils.isValidServiceFee should throw if percentageCut is not a number
HederaUtils.isValidServiceFee should throw if toAddress is not a valid string ‑ HederaUtils.isValidServiceFee should throw if toAddress is not a valid string
HederaUtils.isValidServiceFee should validate when all valid service fee parameters are provided ‑ HederaUtils.isValidServiceFee should validate when all valid service fee parameters are provided
HederaUtils.isValidSignMessageRequest should throw if message is empty ‑ HederaUtils.isValidSignMessageRequest should throw if message is empty
HederaUtils.isValidSignMessageRequest should throw if message is missing ‑ HederaUtils.isValidSignMessageRequest should throw if message is missing
HederaUtils.isValidSignMessageRequest should throw if message is not a string ‑ HederaUtils.isValidSignMessageRequest should throw if message is not a string
HederaUtils.isValidSignMessageRequest should validate when a valid message is provided ‑ HederaUtils.isValidSignMessageRequest should validate when a valid message is provided
HederaUtils.isValidSignScheduledTxParams should throw an error if null is passed as parameters ‑ HederaUtils.isValidSignScheduledTxParams should throw an error if null is passed as parameters
HederaUtils.isValidSignScheduledTxParams should throw an error if the parameters are undefined ‑ HederaUtils.isValidSignScheduledTxParams should throw an error if the parameters are undefined
HederaUtils.isValidSignScheduledTxParams should throw an error if the scheduleId is an empty string ‑ HederaUtils.isValidSignScheduledTxParams should throw an error if the scheduleId is an empty string
HederaUtils.isValidSignScheduledTxParams should throw an error if the scheduleId is missing ‑ HederaUtils.isValidSignScheduledTxParams should throw an error if the scheduleId is missing
HederaUtils.isValidSignScheduledTxParams should throw an error if the scheduleId is not a string ‑ HederaUtils.isValidSignScheduledTxParams should throw an error if the scheduleId is not a string
HederaUtils.isValidSignScheduledTxParams should validate successfully with a valid scheduleId ‑ HederaUtils.isValidSignScheduledTxParams should validate successfully with a valid scheduleId
HederaUtils.isValidStakeHbarParams should throw if accountId format is invalid ‑ HederaUtils.isValidStakeHbarParams should throw if accountId format is invalid
HederaUtils.isValidStakeHbarParams should throw if both nodeId and accountId are missing ‑ HederaUtils.isValidStakeHbarParams should throw if both nodeId and accountId are missing
HederaUtils.isValidStakeHbarParams should throw if nodeId is not a number ‑ HederaUtils.isValidStakeHbarParams should throw if nodeId is not a number
HederaUtils.isValidStakeHbarParams should validate when a valid accountId is provided ‑ HederaUtils.isValidStakeHbarParams should validate when a valid accountId is provided
HederaUtils.isValidStakeHbarParams should validate when a valid nodeId is provided ‑ HederaUtils.isValidStakeHbarParams should validate when a valid nodeId is provided
HederaUtils.isValidTransferCryptoParams should throw if "amount" is not a number ‑ HederaUtils.isValidTransferCryptoParams should throw if "amount" is not a number
HederaUtils.isValidTransferCryptoParams should throw if "assetId" is missing for TOKEN ‑ HederaUtils.isValidTransferCryptoParams should throw if "assetId" is missing for TOKEN
HederaUtils.isValidTransferCryptoParams should throw if "to" address is missing ‑ HederaUtils.isValidTransferCryptoParams should throw if "to" address is missing
HederaUtils.isValidTransferCryptoParams should throw if assetType is missing ‑ HederaUtils.isValidTransferCryptoParams should throw if assetType is missing
HederaUtils.isValidTransferCryptoParams should throw if transfers array is empty ‑ HederaUtils.isValidTransferCryptoParams should throw if transfers array is empty
HederaUtils.isValidTransferCryptoParams should validate service fee structure ‑ HederaUtils.isValidTransferCryptoParams should validate service fee structure
HederaUtils.isValidTransferCryptoParams should validate when all valid parameters are provided ‑ HederaUtils.isValidTransferCryptoParams should validate when all valid parameters are provided
HederaUtils.isValidUpdateTokenFeeScheduleParams should check for validity of allCollectorsAreExempt as a boolean ‑ HederaUtils.isValidUpdateTokenFeeScheduleParams should check for validity of allCollectorsAreExempt as a boolean
HederaUtils.isValidUpdateTokenFeeScheduleParams should throw if customFees contains incorrect data types ‑ HederaUtils.isValidUpdateTokenFeeScheduleParams should throw if customFees contains incorrect data types
HederaUtils.isValidUpdateTokenFeeScheduleParams should throw if tokenId is missing ‑ HederaUtils.isValidUpdateTokenFeeScheduleParams should throw if tokenId is missing
HederaUtils.isValidUpdateTokenFeeScheduleParams should validate hbarAmount and tokenAmount as numbers ‑ HederaUtils.isValidUpdateTokenFeeScheduleParams should validate hbarAmount and tokenAmount as numbers
HederaUtils.isValidUpdateTokenFeeScheduleParams should validate when all valid parameters are provided ‑ HederaUtils.isValidUpdateTokenFeeScheduleParams should validate when all valid parameters are provided
HederaUtils.isValidUpdateTokenParams should throw if no update parameters are provided ‑ HederaUtils.isValidUpdateTokenParams should throw if no update parameters are provided
HederaUtils.isValidUpdateTokenParams should throw if provided symbol is too long ‑ HederaUtils.isValidUpdateTokenParams should throw if provided symbol is too long
HederaUtils.isValidUpdateTokenParams should throw if tokenId is missing ‑ HederaUtils.isValidUpdateTokenParams should throw if tokenId is missing
HederaUtils.isValidUpdateTokenParams should validate correct autoRenewPeriod ‑ HederaUtils.isValidUpdateTokenParams should validate correct autoRenewPeriod
HederaUtils.isValidUpdateTokenParams should validate presence of at least one optional parameter ‑ HederaUtils.isValidUpdateTokenParams should validate presence of at least one optional parameter
HederaUtils.isValidUpdateTokenParams should validate when all valid parameters are provided ‑ HederaUtils.isValidUpdateTokenParams should validate when all valid parameters are provided
HederaUtils.isValidWipeTokenParams throws an error if accountId is missing ‑ HederaUtils.isValidWipeTokenParams throws an error if accountId is missing
HederaUtils.isValidWipeTokenParams throws an error if amount is passed with NFT ‑ HederaUtils.isValidWipeTokenParams throws an error if amount is passed with NFT
HederaUtils.isValidWipeTokenParams throws an error if assetType is neither TOKEN nor NFT ‑ HederaUtils.isValidWipeTokenParams throws an error if assetType is neither TOKEN nor NFT
HederaUtils.isValidWipeTokenParams throws an error if serialNumbers are missing for an NFT ‑ HederaUtils.isValidWipeTokenParams throws an error if serialNumbers are missing for an NFT
HederaUtils.isValidWipeTokenParams throws an error if serialNumbers are passed with TOKEN ‑ HederaUtils.isValidWipeTokenParams throws an error if serialNumbers are passed with TOKEN
HederaUtils.isValidWipeTokenParams throws an error if tokenId is missing ‑ HederaUtils.isValidWipeTokenParams throws an error if tokenId is missing
HederaUtils.isValidWipeTokenParams validates successfully for a valid NFT with serial numbers ‑ HederaUtils.isValidWipeTokenParams validates successfully for a valid NFT with serial numbers
HederaUtils.isValidWipeTokenParams validates successfully for a valid TOKEN with amount ‑ HederaUtils.isValidWipeTokenParams validates successfully for a valid TOKEN with amount
HederaUtils.validHederaNetwork should handle empty or undefined input gracefully ‑ HederaUtils.validHederaNetwork should handle empty or undefined input gracefully
HederaUtils.validHederaNetwork should return false for an invalid network name ‑ HederaUtils.validHederaNetwork should return false for an invalid network name
HederaUtils.validHederaNetwork should return true for a valid network name ‑ HederaUtils.validHederaNetwork should return true for a valid network name
HederaUtils.validHederaNetwork should return true for each predefined valid network ‑ HederaUtils.validHederaNetwork should return true for each predefined valid network
HederaWalletSnap ensure0xPrefix should add 0x prefix if not present ‑ HederaWalletSnap ensure0xPrefix should add 0x prefix if not present
HederaWalletSnap ensure0xPrefix should convert the address to lowercase ‑ HederaWalletSnap ensure0xPrefix should convert the address to lowercase
HederaWalletSnap ensure0xPrefix should not add 0x prefix if already present ‑ HederaWalletSnap ensure0xPrefix should not add 0x prefix if already present
HederaWalletSnap timestampToString method should convert a Date object to a UTC string ‑ HederaWalletSnap timestampToString method should convert a Date object to a UTC string
HederaWalletSnap timestampToString method should convert a numeric timestamp to a UTC string ‑ HederaWalletSnap timestampToString method should convert a numeric timestamp to a UTC string
HederaWalletSnap timestampToString method should convert a string representation of a timestamp to a UTC string ‑ HederaWalletSnap timestampToString method should convert a string representation of a timestamp to a UTC string
HederaWalletSnap timestampToString method should return an empty string for non-numeric string input ‑ HederaWalletSnap timestampToString method should return an empty string for non-numeric string input
HederaWalletSnap timestampToString method should return an empty string for null input ‑ HederaWalletSnap timestampToString method should return an empty string for null input
HederaWalletSnap timestampToString method should return an empty string for undefined input ‑ HederaWalletSnap timestampToString method should return an empty string for undefined input
SnapUtils formatFeeDisplay should format fee correctly for HBAR transactions ‑ SnapUtils formatFeeDisplay should format fee correctly for HBAR transactions
SnapUtils formatFeeDisplay should format fee correctly for non-HBAR transactions ‑ SnapUtils formatFeeDisplay should format fee correctly for non-HBAR transactions
SnapUtils generateCommonPanel should generate a common panel with provided origin and prompt ‑ SnapUtils generateCommonPanel should generate a common panel with provided origin and prompt
StateUtils getEmptyAccountState returns a deep clone of emptyAccountState ‑ StateUtils getEmptyAccountState returns a deep clone of emptyAccountState
StateUtils getInitialSnapState returns a deep clone of initialSnapState ‑ StateUtils getInitialSnapState returns a deep clone of initialSnapState
getCurrentNetwork should request and return the current network chain ID ‑ getCurrentNetwork should request and return the current network chain ID