File tree 1 file changed +6
-2
lines changed
packages/core/src/__test__
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 9
9
originAssetsResponseFromJSON ,
10
10
OriginAssetsResponseJSON ,
11
11
RecommendationEntry ,
12
+ RouteResponse ,
12
13
RouteResponseJSON ,
13
14
} from "../types" ;
14
15
@@ -846,13 +847,14 @@ describe("client", () => {
846
847
smartRelay : false ,
847
848
} ) ;
848
849
849
- expect ( response ) . toEqual ( {
850
+ const routeResponse : RouteResponse = {
850
851
sourceAssetDenom : "uosmo" ,
851
852
sourceAssetChainID : "osmosis-1" ,
852
853
destAssetDenom : "uatom" ,
853
854
destAssetChainID : "cosmoshub-4" ,
854
855
amountIn : "1000000" ,
855
856
amountOut : "54906" ,
857
+ requiredChainAddresses : [ "osmosis-1" , "cosmoshub-4" ] ,
856
858
operations : [
857
859
{
858
860
swap : {
@@ -923,7 +925,9 @@ describe("client", () => {
923
925
] ,
924
926
estimatedFees : [ ] ,
925
927
txsRequired : 1 ,
926
- } ) ;
928
+ } ;
929
+
930
+ expect ( response ) . toEqual ( routeResponse ) ;
927
931
} ) ;
928
932
} ) ;
929
933
You can’t perform that action at this time.
0 commit comments