From 00ea0eb04600c787fde2be519614f113cb5f8dfb Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Thu, 22 Feb 2024 17:20:06 -0800 Subject: [PATCH] enhance testing coverage --- src/addresses.test.ts | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/addresses.test.ts b/src/addresses.test.ts index 7f387b63..4345f3db 100644 --- a/src/addresses.test.ts +++ b/src/addresses.test.ts @@ -22,5 +22,20 @@ describe('addresses', () => { const address = SWAP_ROUTER_02_ADDRESSES(ChainId.BNB) expect(address).toEqual('0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2') }) + + it('should return the correct address for arbitrum goerli', () => { + const address = SWAP_ROUTER_02_ADDRESSES(ChainId.ARBITRUM_GOERLI) + expect(address).toEqual('0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45') + }) + + it('should return the correct address for optimism sepolia', () => { + const address = SWAP_ROUTER_02_ADDRESSES(ChainId.OPTIMISM_SEPOLIA) + expect(address).toEqual('0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4') + }) + + it('should return the correct address for sepolia', () => { + const address = SWAP_ROUTER_02_ADDRESSES(ChainId.SEPOLIA) + expect(address).toEqual('0x3bFA4769FB09eefC5a80d6E87c3B9C650f7Ae48E') + }) }) })