Skip to content

Conversation

@Lil-Duckling-22
Copy link

Description

Adds comprehensive unit tests for ReadFromClientConfig and ReadDefaultValuesFromDefaultClientConfig functions to improve test coverage.

Tests cover:

  • Config file creation when missing
  • Reading existing config files
  • Invalid TOML handling
  • ChainID preservation
  • HomeDir restoration

This addresses the gap in test coverage identified for these critical configuration functions.

@github-actions github-actions bot added the C:CLI label Dec 30, 2025
@codecov
Copy link

codecov bot commented Jan 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.31%. Comparing base (ebdaf82) to head (3efdf4b).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #25734      +/-   ##
==========================================
- Coverage   70.32%   70.31%   -0.01%     
==========================================
  Files         839      835       -4     
  Lines       54441    54359      -82     
==========================================
- Hits        38285    38223      -62     
+ Misses      16156    16136      -20     

see 9 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant