File tree 1 file changed +4
-7
lines changed 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) {
437
437
Then ( 'the key should be in the wallet' , async function ( ) {
438
438
let keys = await this . kcl . listKeys ( this . handle ) ;
439
439
keys = keys . addresses ;
440
- assert . deepStrictEqual ( true , keys . indexOf ( this . pk ) >= 0 ) ;
440
+ assert . ok ( keys . indexOf ( this . pk ) >= 0 ) ;
441
441
return keys ;
442
442
} ) ;
443
443
@@ -448,7 +448,7 @@ module.exports = function getSteps(options) {
448
448
Then ( 'the key should not be in the wallet' , async function ( ) {
449
449
let keys = await this . kcl . listKeys ( this . handle ) ;
450
450
keys = keys . addresses ;
451
- assert . deepStrictEqual ( false , keys . indexOf ( this . pk ) >= 0 ) ;
451
+ assert . ok ( keys . indexOf ( this . pk ) < 0 ) ;
452
452
return keys ;
453
453
} ) ;
454
454
@@ -572,10 +572,7 @@ module.exports = function getSteps(options) {
572
572
}
573
573
574
574
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 ) ;
579
576
return keys ;
580
577
} ) ;
581
578
@@ -591,7 +588,7 @@ module.exports = function getSteps(options) {
591
588
return this . kcl . deleteMultisig (
592
589
this . handle ,
593
590
this . wallet_pswd ,
594
- algosdk . multisigAddress ( this . msig )
591
+ algosdk . multisigAddress ( this . msig ) . toString ( )
595
592
) ;
596
593
} ) ;
597
594
You can’t perform that action at this time.
0 commit comments