Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kingpinXD committed Sep 17, 2024
1 parent 7120ad9 commit 62a3862
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions pkg/chains/chains.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ func DefaultChainsList() []Chain {
BscMainnet,
Ethereum,
BitcoinTestnet,
BitcoinSignetTestnet,
Mumbai,
Amoy,
BscTestnet,
Expand Down
6 changes: 5 additions & 1 deletion pkg/chains/chains_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ func TestChainListByNetworkType(t *testing.T) {
[]chains.Chain{
chains.ZetaChainTestnet,
chains.BitcoinTestnet,
chains.BitcoinSignetTestnet,
chains.Mumbai,
chains.Amoy,
chains.BscTestnet,
Expand Down Expand Up @@ -90,7 +91,7 @@ func TestChainListByNetwork(t *testing.T) {
{
"Btc",
chains.Network_btc,
[]chains.Chain{chains.BitcoinMainnet, chains.BitcoinTestnet, chains.BitcoinRegtest},
[]chains.Chain{chains.BitcoinMainnet, chains.BitcoinTestnet, chains.BitcoinSignetTestnet, chains.BitcoinRegtest},
},
{
"Eth",
Expand Down Expand Up @@ -137,6 +138,7 @@ func TestDefaultChainList(t *testing.T) {
chains.BscMainnet,
chains.Ethereum,
chains.BitcoinTestnet,
chains.BitcoinSignetTestnet,
chains.Mumbai,
chains.Amoy,
chains.BscTestnet,
Expand Down Expand Up @@ -173,6 +175,7 @@ func TestChainListByGateway(t *testing.T) {
chains.BscMainnet,
chains.Ethereum,
chains.BitcoinTestnet,
chains.BitcoinSignetTestnet,
chains.Mumbai,
chains.Amoy,
chains.BscTestnet,
Expand Down Expand Up @@ -215,6 +218,7 @@ func TestExternalChainList(t *testing.T) {
chains.BscMainnet,
chains.Ethereum,
chains.BitcoinTestnet,
chains.BitcoinSignetTestnet,
chains.Mumbai,
chains.Amoy,
chains.BscTestnet,
Expand Down

0 comments on commit 62a3862

Please sign in to comment.