@@ -24,14 +24,12 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.Sell.quote", () => {
2424 Sell . quote ( {
2525 originChainId : 1 ,
2626 originTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
27- destinationChainId : 10 ,
27+ destinationChainId : 444 ,
2828 destinationTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
2929 sellAmountWei : toWei ( "1000000000" ) ,
3030 client : TEST_CLIENT ,
3131 } ) ,
32- ) . rejects . toThrowErrorMatchingInlineSnapshot (
33- `[Error: AMOUNT_TOO_HIGH | The provided amount is too high for the requested route.]` ,
34- ) ;
32+ ) . rejects . toThrowError ( ) ;
3533 } ) ;
3634} ) ;
3735
@@ -43,8 +41,8 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.Sell.prepare", () => {
4341 destinationChainId : 10 ,
4442 destinationTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
4543 sellAmountWei : toWei ( "0.01" ) ,
46- sender : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
47- receiver : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
44+ sender : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
45+ receiver : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
4846 client : TEST_CLIENT ,
4947 } ) ;
5048
@@ -60,15 +58,13 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.Sell.prepare", () => {
6058 Sell . prepare ( {
6159 originChainId : 1 ,
6260 originTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
63- destinationChainId : 10 ,
61+ destinationChainId : 444 ,
6462 destinationTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
6563 sellAmountWei : toWei ( "1000000000" ) ,
66- sender : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
67- receiver : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
64+ sender : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
65+ receiver : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
6866 client : TEST_CLIENT ,
6967 } ) ,
70- ) . rejects . toThrowErrorMatchingInlineSnapshot (
71- `[Error: AMOUNT_TOO_HIGH | The provided amount is too high for the requested route.]` ,
72- ) ;
68+ ) . rejects . toThrowError ( ) ;
7369 } ) ;
7470} ) ;
0 commit comments