hashgraph / hedera-mirror-node-explorer

Hedera Mirror Node Explorer for the Hedera Hashgraph DLT.
Apache License 2.0
14 stars 9 forks source link

feat: enabling search with partial transaction id #1082

Closed ericleponner closed 1 month ago

ericleponner commented 1 month ago

Description: Changes below implement #1065. They also extend unit tests for TransactionID class.

Related issue(s): Fixes #1065

Notes for reviewer: Transaction for testing on mainnet: 0.0.1280@1716576300.000000000

Checklist

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 82.86% 39245 / 47360
🔵 Statements 82.86% 39245 / 47360
🔵 Functions 63.06% 888 / 1408
🔵 Branches 84.06% 4105 / 4883
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
src/utils/SearchRequest.ts 92.11% 79.72% 100% 92.11% 126-132, 144-145, 166-169, 198-200, 206-207, 227-228, 310-313, 345-346, 351-352
src/utils/TransactionID.ts 99.24% 89.74% 100% 99.24% 66
Generated in workflow #948
sonarcloud[bot] commented 1 month ago

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud