From f18ba3cd8a5c2e85917ccbfc41b574474f666eb1 Mon Sep 17 00:00:00 2001 From: Stanley Yuen <102275989+stanleyyconsensys@users.noreply.github.com> Date: Tue, 8 Apr 2025 18:20:58 +0800 Subject: [PATCH] fix: unit test for isValidNetworkName --- app/util/networks/index.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/util/networks/index.test.ts b/app/util/networks/index.test.ts index d10346d9a5f7..186cbf1d8b30 100644 --- a/app/util/networks/index.test.ts +++ b/app/util/networks/index.test.ts @@ -801,7 +801,7 @@ describe('network-utils', () => { }) it('returns false if the chainId is not Mainnet, Linea Mainnet, MegaETH Testnet and the network nickname is different with network name', () => { - expect(isValidNetworkName(ChainId.sepolia, 'Sepolia', 'Sepolia')).toBe(true); + expect(isValidNetworkName(ChainId.sepolia, 'Sepolia', 'Some other nickname')).toBe(false); }) }); });