diff --git a/app/images/velas.svg b/app/images/velas.svg new file mode 100644 index 000000000000..910ad1cb58cf --- /dev/null +++ b/app/images/velas.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/shared/constants/network.test.ts b/shared/constants/network.test.ts new file mode 100644 index 000000000000..dfcf313314aa --- /dev/null +++ b/shared/constants/network.test.ts @@ -0,0 +1,11 @@ +import { existsSync } from 'fs'; +import { join } from 'path'; +import { CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP } from './network'; + +describe('NetworkConstants', () => { + it('has images files that exist for defined networks', () => { + Object.values(CHAIN_ID_TO_NETWORK_IMAGE_URL_MAP).forEach((image) => + expect(existsSync(join('app', image))).toBe(true), + ); + }); +}); diff --git a/shared/constants/network.ts b/shared/constants/network.ts index 816d4578b48a..1d09cdc1df8e 100644 --- a/shared/constants/network.ts +++ b/shared/constants/network.ts @@ -377,7 +377,7 @@ export const DEXALOT_SUBNET_IMAGE_URL = './images/dexalut-subnet.svg'; export const DFK_CHAIN_IMAGE_URL = './images/dfk.png'; export const DOGECHAIN_IMAGE_URL = './images/dogechain.jpeg'; export const ENDURANCE_SMART_CHAIN_MAINNET_IMAGE_URL = - './images/endurance-smart-chain.png'; + './images/endurance-smart-chain-mainnet.png'; export const ETHEREUM_CLASSIC_MAINNET_IMAGE_URL = './images/eth_classic.svg'; export const EVMOS_IMAGE_URL = './images/evmos.svg'; export const FLARE_MAINNET_IMAGE_URL = './images/flare-mainnet.svg'; @@ -402,11 +402,11 @@ export const SHARDEUM_LIBERTY_2X_IMAGE_URL = './images/shardeum-2.svg'; export const SHARDEUM_SPHINX_1X_IMAGE_URL = './images/shardeum-1.svg'; export const SHIB_MAINNET_IMAGE_URL = './images/shiba.svg'; export const SONGBIRD_MAINNET_IMAGE_URL = './images/songbird.svg'; -export const STEP_NETWORK_IMAGE_URL = './images/setp.svg'; +export const STEP_NETWORK_IMAGE_URL = './images/step.svg'; export const TELOS_EVM_MAINNET_IMAGE_URL = './images/telos.svg'; export const TENET_MAINNET_IMAGE_URL = './images/tenet.svg'; export const VELAS_EVM_MAINNET_IMAGE_URL = './images/velas.svg'; -export const ZKATANA_MAINNET_IMAGE_URL = './images/zkatana.svg'; +export const ZKATANA_MAINNET_IMAGE_URL = './images/zkatana.png'; export const ZORA_MAINNET_IMAGE_URL = './images/zora.svg'; export const INFURA_PROVIDER_TYPES = [