Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Sep 11, 2023
1 parent d1bfcfd commit f778f24
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions tests/units/routers.evm.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ describe('routers', ()=> {

it('exports the payment routers', async ()=>{

expect(routers.ethereum.address).toEqual('0xcbfc518FB621828fa6f0F4647D42931476ea473b')
expect(routers.ethereum.address).toEqual('0x6466F27B169C908Ba8174d80aEfa7173CbC3D0c7')
expect(typeof routers.ethereum.api === 'object').toEqual(true)

expect(routers.bsc.address).toEqual('0xAc68Ee6Bc43Bf075C0522a15E665547CFd28628D')
expect(routers.bsc.address).toEqual('0x7ea09401db4692a8AEF4111b75bD32AE758f552A')
expect(typeof routers.bsc.api === 'object').toEqual(true)

expect(routers.polygon.address).toEqual('0x1eD1e2dEEEa8B5C802663780284eDa63f62A3825')
expect(routers.polygon.address).toEqual('0x50CFAB577623B1359602E11514a9482B061A941e')
expect(typeof routers.polygon.api === 'object').toEqual(true)

expect(routers.fantom.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(routers.fantom.address).toEqual('0xFee05C41195985909DDfc9127Db1f94559c46db3')
expect(typeof routers.fantom.api === 'object').toEqual(true)

expect(routers.avalanche.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(routers.avalanche.address).toEqual('0xFee05C41195985909DDfc9127Db1f94559c46db3')
expect(typeof routers.avalanche.api === 'object').toEqual(true)

expect(routers.gnosis.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(routers.gnosis.address).toEqual('0xFee05C41195985909DDfc9127Db1f94559c46db3')
expect(typeof routers.gnosis.api === 'object').toEqual(true)

expect(routers.arbitrum.address).toEqual('0x47dF3990e8827EfF23b01e1CD7de309E8C6364a2')
expect(routers.arbitrum.address).toEqual('0xA1cfbeeF344A52e18f748fd6a126f9426A40fbc7')
expect(typeof routers.arbitrum.api === 'object').toEqual(true)

expect(routers.optimism.address).toEqual('0x47dF3990e8827EfF23b01e1CD7de309E8C6364a2')
expect(routers.optimism.address).toEqual('0x8698E529E9867eEbcC68b4792daC627cd8870736')
expect(typeof routers.optimism.api === 'object').toEqual(true)

expect(routers.base.address).toEqual('0xfAD2F276D464EAdB71435127BA2c2e9dDefb93a4')
expect(routers.base.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(typeof routers.base.api === 'object').toEqual(true)
})
})
18 changes: 9 additions & 9 deletions tests/units/routers.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ describe('routers', ()=> {

it('exports the payment routers', async ()=>{

expect(routers.ethereum.address).toEqual('0xcbfc518FB621828fa6f0F4647D42931476ea473b')
expect(routers.ethereum.address).toEqual('0x6466F27B169C908Ba8174d80aEfa7173CbC3D0c7')
expect(typeof routers.ethereum.api === 'object').toEqual(true)

expect(routers.bsc.address).toEqual('0xAc68Ee6Bc43Bf075C0522a15E665547CFd28628D')
expect(routers.bsc.address).toEqual('0x7ea09401db4692a8AEF4111b75bD32AE758f552A')
expect(typeof routers.bsc.api === 'object').toEqual(true)

expect(routers.polygon.address).toEqual('0x1eD1e2dEEEa8B5C802663780284eDa63f62A3825')
expect(routers.polygon.address).toEqual('0x50CFAB577623B1359602E11514a9482B061A941e')
expect(typeof routers.polygon.api === 'object').toEqual(true)

expect(routers.fantom.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(routers.fantom.address).toEqual('0xFee05C41195985909DDfc9127Db1f94559c46db3')
expect(typeof routers.fantom.api === 'object').toEqual(true)

expect(routers.avalanche.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(routers.avalanche.address).toEqual('0xFee05C41195985909DDfc9127Db1f94559c46db3')
expect(typeof routers.avalanche.api === 'object').toEqual(true)

expect(routers.gnosis.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(routers.gnosis.address).toEqual('0xFee05C41195985909DDfc9127Db1f94559c46db3')
expect(typeof routers.gnosis.api === 'object').toEqual(true)

expect(routers.arbitrum.address).toEqual('0x47dF3990e8827EfF23b01e1CD7de309E8C6364a2')
expect(routers.arbitrum.address).toEqual('0xA1cfbeeF344A52e18f748fd6a126f9426A40fbc7')
expect(typeof routers.arbitrum.api === 'object').toEqual(true)

expect(routers.optimism.address).toEqual('0x47dF3990e8827EfF23b01e1CD7de309E8C6364a2')
expect(routers.optimism.address).toEqual('0x8698E529E9867eEbcC68b4792daC627cd8870736')
expect(typeof routers.optimism.api === 'object').toEqual(true)

expect(routers.base.address).toEqual('0xfAD2F276D464EAdB71435127BA2c2e9dDefb93a4')
expect(routers.base.address).toEqual('0x8B127D169D232D5F3ebE1C3D06CE343FD7C1AA11')
expect(typeof routers.base.api === 'object').toEqual(true)
})
})

0 comments on commit f778f24

Please sign in to comment.