-
Notifications
You must be signed in to change notification settings - Fork 419
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enhance block explorer utility tests with edge cases and multip…
…le explorers (#5147) ### Description - Added comprehensive tests for block explorer utilities, covering edge cases such as chains without block explorers and chains without API URLs. - Implemented tests for handling multiple block explorers, ensuring correct explorer selection by index. - Included tests for special chain names and proper URL handling, particularly with trailing slashes. <!-- What's included in this PR? --> ### Drive-by changes <!-- Are there any minor or drive-by changes also included? --> ### Related issues <!-- - Fixes #[issue number here] --> ### Backward compatibility <!-- Are these changes backward compatible? Are there any infrastructure implications, e.g. changes that would prohibit deploying older commits using this infra tooling? Yes/No --> ### Testing All new tests have been implemented and verified for correctness. <!-- What kind of testing have these changes undergone? None/Manual/Unit Tests -->
- Loading branch information
Showing
1 changed file
with
119 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters