Skip to content

test(drive): improve identity fetch, balance, and public key hash coverage - #3443

Merged
QuantumExplorer merged 2 commits into
v3.1-devfrom
test/drive-identity-fetch-coverage
Apr 7, 2026
Merged

test(drive): improve identity fetch, balance, and public key hash coverage#3443
QuantumExplorer merged 2 commits into
v3.1-devfrom
test/drive-identity-fetch-coverage

fix(test): strengthen assertions per CodeRabbit review

d13c2ae
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Apr 7, 2026 in 0s

81.35% (+0.68%) compared to 8a83981

View this Pull Request on Codecov

81.35% (+0.68%) compared to 8a83981

Details

Codecov Report

❌ Patch coverage is 98.93617% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.35%. Comparing base (8a83981) to head (d13c2ae).
⚠️ Report is 7 commits behind head on v3.1-dev.

Files with missing lines Patch % Lines
...e/identity/fetch/fetch_by_public_key_hashes/mod.rs 97.78% 10 Missing ⚠️
...rive/src/drive/identity/fetch/contract_keys/mod.rs 96.77% 2 Missing ⚠️
packages/rs-drive/src/drive/identity/fetch/mod.rs 99.37% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##           v3.1-dev    #3443      +/-   ##
============================================
+ Coverage     80.66%   81.35%   +0.68%     
============================================
  Files          2852     2852              
  Lines        285371   291573    +6202     
============================================
+ Hits         230190   237203    +7013     
+ Misses        55181    54370     -811     
Components Coverage Δ
dpp 74.38% <ø> (+1.09%) ⬆️
drive 83.51% <98.93%> (+1.01%) ⬆️
drive-abci 86.70% <ø> (ø)
sdk 36.55% <ø> (ø)
dapi-client 79.06% <ø> (ø)
platform-version ∅ <ø> (∅)
platform-value 92.00% <ø> (+1.21%) ⬆️
platform-wallet 76.09% <ø> (ø)
drive-proof-verifier 55.26% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.