input-output-hk / hermes

🏛️ Hermes is a high-availability blockchain voting database that acts as a distributed storage and event processor for voting events, proposals, and actions.
https://input-output-hk.github.io/hermes
Apache License 2.0
14 stars 2 forks source link

test(chain-follower): Add unit tests to the overall Chain Follower module #310

Closed apskhem closed 2 months ago

apskhem commented 2 months ago

Description

The module already has some tests to multi_era_block.rs and snapshot_id.rs. But the rest of the module still doesn't have the test yet. So we need to create additional unit tests that don't interact with networking stuffs.

Related Issue(s)

Closes #305

Description of Changes

Added unit tests to non-environmental interactive tests data_index.rs, follow.rs, mithril_snapshot_config.rs, network.rs, and stats.rs.

Please confirm the following checks