File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ let privateKey2 = 'ada29a473e2b777403e7d2dc3876c5be03ca6b60d97e37e9bd335b1ce05a2
3535
3636let eddkeyWhitelisted = '0x27a5b716c7309a30703ede3f1a218cdec857e424a31543f8a658e7d2208db33'
3737
38- describe ( 'Transfer test' , function ( ) {
38+ describe ( 'UserAPI test' , function ( ) {
3939
4040 beforeEach ( async ( ) => {
4141 userApi = new UserAPI ( { chainId : ChainId . GOERLI } )
@@ -269,20 +269,22 @@ describe('Transfer test', function () {
269269 publicKey : { x : eddsaKey . formatedPx , y : eddsaKey . formatedPy , } ,
270270 maxFee : {
271271 tokenId : 1 ,
272- volume : '0100000000000000000' } ,
272+ volume : '0100000000000000000'
273+ } ,
273274 validUntil : VALID_UNTIL ,
274275 nonce : accInfo . nonce as number ,
275276 }
276-
277- const result = userApi . updateAccount ( {
277+ const result = await userApi . updateAccount ( {
278278 request,
279279 web3,
280280 chainId : ChainId . GOERLI ,
281- walletType : ConnectorNames . MetaMask ,
281+ walletType : ConnectorNames . Unknown ,
282282 isHWAddr : false
283283 } )
284- console . log ( 'updateAccount result: ' , JSON . stringify ( result ) )
284+ console . log ( 'updateAccount result: ' , JSON . stringify ( result ) )
285285
286286 } , DEFAULT_TIMEOUT )
287287
288288} )
289+
290+
You can’t perform that action at this time.
0 commit comments