From 510221fac6e69a934f055254a2807872fe9da07e Mon Sep 17 00:00:00 2001 From: RenzouM Date: Thu, 7 Nov 2024 08:36:56 -0300 Subject: [PATCH] review fix -> Comment entire line of BridgeName and remove useless block on assets.test --- src/bridges.ts | 6 +++--- tests/assets.test.ts | 15 --------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/src/bridges.ts b/src/bridges.ts index e6e95f8..7745615 100644 --- a/src/bridges.ts +++ b/src/bridges.ts @@ -17,9 +17,9 @@ export const enum BridgeName { BITTORRENT = "BitTorrent Bridge", KROMA = "Kroma Bridge", ROLLUX = "Rollux Bridge", - WEMIX = "Block Producer Network(BPN)", //todo --Native bridge suspended/maintenance? wemix classic/multichain bridge? - HEDERA = "", //todo --No native bridge - DOGECHAIN = "Dogechain Bridge", //todo --Native bridge only support transf of doge from dogecoin chain -> dogechain chain + //todo WEMIX = "Block Producer Network(BPN)", | Native bridge suspended/maintenance? wemix classic/multichain bridge? + //todo HEDERA = "??", | No native bridge + //todo DOGECHAIN = "Dogechain Bridge", | Native bridge only support transf of doge from dogecoin chain -> dogechain chain // official, native multi SUPERBRIDGE = "Superbridge", diff --git a/tests/assets.test.ts b/tests/assets.test.ts index 4f14a07..facdb02 100644 --- a/tests/assets.test.ts +++ b/tests/assets.test.ts @@ -22,12 +22,6 @@ describe("testing assets", () => { (token) => token.address.toLowerCase() === address.toLowerCase(), ); - if (!matchingToken) { - console.log(`Missing token for address: ${address}`); - throw new Error( - `Token with address ${address} is missing in tokenlist.`, - ); - } expect(matchingToken).toBeDefined(); } } @@ -64,15 +58,6 @@ describe("testing assets", () => { } } - if (!addressFound) { - console.log( - `Missing token address: ${token.address} for token: ${token.symbol}`, - ); - throw new Error( - `Token address ${token.address} for ${token.symbol} is missing in assets.`, - ); - } - expect(addressFound).toBe(true); } });