CU-86a0q6pde - Missing \"FAULT\" check on calculateFee #12
GitHub Actions / Unit Tests
succeeded
Sep 12, 2023 in 0s
Unit Tests ✔️
✔️ mocha-results.json
50 tests were completed in 2s with 50 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
packages/neon-dappkit/src/NeonInvoker.spec.ts | 10✔️ | 1s | ||
packages/neon-dappkit/src/NeonParser.spec.ts | 31✔️ | 13ms | ||
packages/neon-dappkit/src/NeonSigner.spec.ts | 9✔️ | 518ms |
✔️ packages/neon-dappkit/src/NeonInvoker.spec.ts
NeonInvoker
✔️ does calculateFee
✔️ does invokeFuncion
✔️ does testInvoke
✔️ handles array return
✔️ handles array return (again)
✔️ handles boolean return
✔️ handles boolean return (again)
✔️ handles bytestring return
✔️ handles integer return
✔️ handles map return
✔️ packages/neon-dappkit/src/NeonParser.spec.ts
NeonParser
✔️ converts address to script hash
✔️ converts Base64 to Hex and revert it
✔️ parses Address
✔️ parses Any
✔️ parses Array inside Map
✔️ parses array of primitive types
✔️ parses BlockHash or TransactionId
✔️ parses boolean
✔️ parses Boolean
✔️ parses ByteArray
✔️ parses ByteString without parseConfig
✔️ parses Hash160
✔️ parses Hash256
✔️ parses Integer
✔️ parses invalid Address
✔️ parses invalid ScriptHash and ScriptHashLittleEndian
✔️ parses Iterator
✔️ parses Map inside Array
✔️ parses map of primitive types
✔️ parses multiple types Array
✔️ parses multiple types Map
✔️ parses numbers
✔️ parses PublicKey
✔️ parses PublicKey
✔️ parses raw when UTF8 parsing fails
✔️ parses same internal types with Union
✔️ parses ScriptHash and ScriptHashLittleEndian
✔️ parses single type Array
✔️ parses single type Map
✔️ parses string
✔️ parses Union
✔️ packages/neon-dappkit/src/NeonSigner.spec.ts
NeonSigner
✔️ can encrypt and decrypt messages from an array that has the corresponding public key
✔️ can encrypt and decrypt messages from the corresponding public key
✔️ can NOT encrypt and decrypt messages from an array that doesn't have the corresponding public key
✔️ can NOT encrypt and decrypt messages from different public keys
✔️ can sign and verify
✔️ can sign using classic version and verify
✔️ can sign with no salt and verify
✔️ can verify
✔️ can verify when failing
Loading