Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IBC status provider tests #3323

Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions packages/bridge/src/__tests__/mock-chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const MockChains: Chain[] = [
},
explorers: [
{
tx_page: "https://www.mintscan.io/cosmos/txs/${txHash}",
tx_page: "https://www.mintscan.io/osmosis/txs/{txHash}",
},
],
features: [
Expand Down Expand Up @@ -115,7 +115,7 @@ export const MockChains: Chain[] = [
},
explorers: [
{
tx_page: "https://www.mintscan.io/osmosis/txs/${txHash}",
tx_page: "https://www.mintscan.io/cosmos/txs/{txHash}",
},
],
features: ["ibc-go", "ibc-transfer"],
Expand Down Expand Up @@ -178,7 +178,7 @@ export const MockChains: Chain[] = [
},
explorers: [
{
tx_page: "https://www.mintscan.io/juno/txs/${txHash}",
tx_page: "https://www.mintscan.io/juno/txs/{txHash}",
},
],
features: ["ibc-transfer", "ibc-go", "cosmwasm", "wasmd_0.24+"],
Expand Down Expand Up @@ -233,7 +233,7 @@ export const MockChains: Chain[] = [
},
explorers: [
{
tx_page: "https://explorer.injective.network/transaction/${txHash}",
tx_page: "https://explorer.injective.network/transaction/{txHash}",
},
],
features: ["ibc-transfer", "ibc-go", "eth-address-gen", "eth-key-sign"],
Expand Down Expand Up @@ -290,7 +290,7 @@ export const MockChains: Chain[] = [
explorers: [
{
tx_page:
"https://secretnodes.com/secret/chains/secret-4/transactions/${txHash}",
"https://secretnodes.com/secret/chains/secret-4/transactions/{txHash}",
},
],
features: [
Expand Down Expand Up @@ -351,7 +351,7 @@ export const MockChains: Chain[] = [
},
explorers: [
{
tx_page: "https://axelarscan.io/tx/${txHash}",
tx_page: "https://axelarscan.io/tx/{txHash}",
},
],
features: ["ibc-transfer", "ibc-go", "axelar-evm-bridge"],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jest.mock("@osmosis-labs/utils", () => ({
}),
}));

// silence console errors
jest.spyOn(console, "error").mockImplementation(() => {});

jonator marked this conversation as resolved.
Show resolved Hide resolved
describe("AxelarTransferStatusProvider", () => {
let provider: AxelarTransferStatusProvider;
const mockReceiver: TransferStatusReceiver = {
Expand Down
Loading
Loading