Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Commit

Permalink
enhance testing coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Feb 23, 2024
1 parent 2d3043d commit 00ea0eb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/addresses.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
})
})
})

0 comments on commit 00ea0eb

Please sign in to comment.