@@ -24,14 +24,12 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.Sell.quote", () => {
24
24
Sell . quote ( {
25
25
originChainId : 1 ,
26
26
originTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
27
- destinationChainId : 10 ,
27
+ destinationChainId : 444 ,
28
28
destinationTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
29
29
sellAmountWei : toWei ( "1000000000" ) ,
30
30
client : TEST_CLIENT ,
31
31
} ) ,
32
- ) . rejects . toThrowErrorMatchingInlineSnapshot (
33
- `[Error: AMOUNT_TOO_HIGH | The provided amount is too high for the requested route.]` ,
34
- ) ;
32
+ ) . rejects . toThrowError ( ) ;
35
33
} ) ;
36
34
} ) ;
37
35
@@ -43,8 +41,8 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.Sell.prepare", () => {
43
41
destinationChainId : 10 ,
44
42
destinationTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
45
43
sellAmountWei : toWei ( "0.01" ) ,
46
- sender : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
47
- receiver : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
44
+ sender : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
45
+ receiver : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
48
46
client : TEST_CLIENT ,
49
47
} ) ;
50
48
@@ -60,15 +58,13 @@ describe.runIf(process.env.TW_SECRET_KEY)("Bridge.Sell.prepare", () => {
60
58
Sell . prepare ( {
61
59
originChainId : 1 ,
62
60
originTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
63
- destinationChainId : 10 ,
61
+ destinationChainId : 444 ,
64
62
destinationTokenAddress : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE" ,
65
63
sellAmountWei : toWei ( "1000000000" ) ,
66
- sender : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
67
- receiver : "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE " ,
64
+ sender : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
65
+ receiver : "0x2a4f24F935Eb178e3e7BA9B53A5Ee6d8407C0709 " ,
68
66
client : TEST_CLIENT ,
69
67
} ) ,
70
- ) . rejects . toThrowErrorMatchingInlineSnapshot (
71
- `[Error: AMOUNT_TOO_HIGH | The provided amount is too high for the requested route.]` ,
72
- ) ;
68
+ ) . rejects . toThrowError ( ) ;
73
69
} ) ;
74
70
} ) ;
0 commit comments