@@ -148,29 +148,29 @@ describe('Mayachain-query tests', () => {
148
148
} )
149
149
150
150
it ( 'Should return the number of decimals of Mayachain assets' , async ( ) => {
151
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'BTC.BTC' ) as Asset ) ) . toBe ( 8 )
152
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'BTC/BTC' ) as SynthAsset ) ) . toBe ( 8 )
153
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'ETH.ETH' ) as Asset ) ) . toBe ( 18 )
154
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'DASH.DASH' ) as Asset ) ) . toBe ( 8 )
155
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'KUJI.KUJI' ) as Asset ) ) . toBe ( 6 )
156
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'THOR.RUNE' ) as Asset ) ) . toBe ( 8 )
157
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'MAYA.CACAO' ) as Asset ) ) . toBe ( 10 )
158
- await expect (
151
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'BTC.BTC' ) as Asset ) ) . toBe ( 8 )
152
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'BTC/BTC' ) as SynthAsset ) ) . toBe ( 8 )
153
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'ETH.ETH' ) as Asset ) ) . toBe ( 18 )
154
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'DASH.DASH' ) as Asset ) ) . toBe ( 8 )
155
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'KUJI.KUJI' ) as Asset ) ) . toBe ( 6 )
156
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'THOR.RUNE' ) as Asset ) ) . toBe ( 8 )
157
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'MAYA.CACAO' ) as Asset ) ) . toBe ( 10 )
158
+ expect (
159
159
await mayachainQuery . getAssetDecimals (
160
160
assetFromStringEx ( 'ETH.USDT-0xdAC17F958D2ee523a2206206994597C13D831ec7' ) as TokenAsset ,
161
161
) ,
162
162
) . toBe ( 6 )
163
- await expect (
163
+ expect (
164
164
await mayachainQuery . getAssetDecimals (
165
165
assetFromStringEx ( 'ETH.USDC-0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48' ) as TokenAsset ,
166
166
) ,
167
167
) . toBe ( 6 )
168
- await expect (
168
+ expect (
169
169
await mayachainQuery . getAssetDecimals (
170
170
assetFromStringEx ( 'ETH.WSTETH-0X7F39C581F595B53C5CB19BD0B3F8DA6C935E2CA0' ) as TokenAsset ,
171
171
) ,
172
172
) . toBe ( 18 )
173
- await expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'KUJI.USK' ) as TokenAsset ) ) . toBe ( 6 )
173
+ expect ( await mayachainQuery . getAssetDecimals ( assetFromStringEx ( 'KUJI.USK' ) as TokenAsset ) ) . toBe ( 6 )
174
174
await expect (
175
175
mayachainQuery . getAssetDecimals (
176
176
assetFromStringEx ( 'ETH.BNB-0xB8c77482e45F1F44dE1745F52C74426C631bDD52' ) as TokenAsset ,
0 commit comments