File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ module.exports = function getSteps(options) {
437437 Then ( 'the key should be in the wallet' , async function ( ) {
438438 let keys = await this . kcl . listKeys ( this . handle ) ;
439439 keys = keys . addresses ;
440- assert . deepStrictEqual ( true , keys . indexOf ( this . pk ) >= 0 ) ;
440+ assert . ok ( keys . indexOf ( this . pk ) >= 0 ) ;
441441 return keys ;
442442 } ) ;
443443
@@ -448,7 +448,7 @@ module.exports = function getSteps(options) {
448448 Then ( 'the key should not be in the wallet' , async function ( ) {
449449 let keys = await this . kcl . listKeys ( this . handle ) ;
450450 keys = keys . addresses ;
451- assert . deepStrictEqual ( false , keys . indexOf ( this . pk ) >= 0 ) ;
451+ assert . ok ( keys . indexOf ( this . pk ) < 0 ) ;
452452 return keys ;
453453 } ) ;
454454
@@ -572,10 +572,7 @@ module.exports = function getSteps(options) {
572572 }
573573
574574 keys = keys . addresses ;
575- assert . deepStrictEqual (
576- false ,
577- keys . indexOf ( algosdk . multisigAddress ( this . msig ) ) >= 0
578- ) ;
575+ assert . ok ( keys . indexOf ( algosdk . multisigAddress ( this . msig ) . toString ( ) ) < 0 ) ;
579576 return keys ;
580577 } ) ;
581578
@@ -591,7 +588,7 @@ module.exports = function getSteps(options) {
591588 return this . kcl . deleteMultisig (
592589 this . handle ,
593590 this . wallet_pswd ,
594- algosdk . multisigAddress ( this . msig )
591+ algosdk . multisigAddress ( this . msig ) . toString ( )
595592 ) ;
596593 } ) ;
597594
You can’t perform that action at this time.
0 commit comments