@@ -339,7 +339,7 @@ describe("TitleEscrowSignable", async () => {
339
339
const [ , invalidNominee ] = users . others ;
340
340
await titleEscrowContractAsBeneficiary . nominate ( invalidNominee . address ) ;
341
341
const onChainNominee = await titleEscrowContract . nominee ( ) ;
342
- assert ( onChainNominee === invalidNominee . address , "Wrong on-chain nominee" ) ;
342
+ assert . isOk ( onChainNominee === invalidNominee . address , "Wrong on-chain nominee" ) ;
343
343
344
344
const tx = titleEscrowContractAsBeneficiary . transferBeneficiaryWithSig ( endorsement , sig ) ;
345
345
@@ -396,7 +396,7 @@ describe("TitleEscrowSignable", async () => {
396
396
it ( "should transfer beneficiary successfully if on-chain nominee is same as endorsed nominee" , async ( ) => {
397
397
await titleEscrowContractAsBeneficiary . nominate ( nominee . address ) ;
398
398
const onChainNominee = await titleEscrowContract . nominee ( ) ;
399
- assert ( onChainNominee === nominee . address , "On-chain nominee is different from endorsed nominee" ) ;
399
+ assert . isOk ( onChainNominee === nominee . address , "On-chain nominee is different from endorsed nominee" ) ;
400
400
401
401
await titleEscrowContractAsBeneficiary . transferBeneficiaryWithSig ( endorsement , sig ) ;
402
402
const res = await titleEscrowContract . beneficiary ( ) ;
@@ -416,7 +416,7 @@ describe("TitleEscrowSignable", async () => {
416
416
it ( "should revert if Beneficiary Transfer is cancelled" , async ( ) => {
417
417
await titleEscrowContract . connect ( users . holder ) . cancelBeneficiaryTransfer ( endorsement ) ;
418
418
const cancelStatus = await titleEscrowContract . cancelled ( hashStruct ) ;
419
- assert ( cancelStatus , "Beneficiary Transfer is not cancelled" ) ;
419
+ assert . isOk ( cancelStatus , "Beneficiary Transfer is not cancelled" ) ;
420
420
421
421
const tx = titleEscrowContractAsBeneficiary . transferBeneficiaryWithSig ( endorsement , sig ) ;
422
422
@@ -444,7 +444,7 @@ describe("TitleEscrowSignable", async () => {
444
444
445
445
it ( "should add correct hash to cancel" , async ( ) => {
446
446
const initStatus = await titleEscrowContract . cancelled ( hashStruct ) ;
447
- assert ( ! initStatus , "Initial cancel status should be false" ) ;
447
+ assert . isOk ( ! initStatus , "Initial cancel status should be false" ) ;
448
448
449
449
await titleEscrowContractAsEndorsingHolder . cancelBeneficiaryTransfer ( endorsement ) ;
450
450
0 commit comments