@@ -339,7 +339,7 @@ describe("TitleEscrowSignable", async () => {
339339 const [ , invalidNominee ] = users . others ;
340340 await titleEscrowContractAsBeneficiary . nominate ( invalidNominee . address ) ;
341341 const onChainNominee = await titleEscrowContract . nominee ( ) ;
342- assert ( onChainNominee === invalidNominee . address , "Wrong on-chain nominee" ) ;
342+ assert . isOk ( onChainNominee === invalidNominee . address , "Wrong on-chain nominee" ) ;
343343
344344 const tx = titleEscrowContractAsBeneficiary . transferBeneficiaryWithSig ( endorsement , sig ) ;
345345
@@ -396,7 +396,7 @@ describe("TitleEscrowSignable", async () => {
396396 it ( "should transfer beneficiary successfully if on-chain nominee is same as endorsed nominee" , async ( ) => {
397397 await titleEscrowContractAsBeneficiary . nominate ( nominee . address ) ;
398398 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" ) ;
400400
401401 await titleEscrowContractAsBeneficiary . transferBeneficiaryWithSig ( endorsement , sig ) ;
402402 const res = await titleEscrowContract . beneficiary ( ) ;
@@ -416,7 +416,7 @@ describe("TitleEscrowSignable", async () => {
416416 it ( "should revert if Beneficiary Transfer is cancelled" , async ( ) => {
417417 await titleEscrowContract . connect ( users . holder ) . cancelBeneficiaryTransfer ( endorsement ) ;
418418 const cancelStatus = await titleEscrowContract . cancelled ( hashStruct ) ;
419- assert ( cancelStatus , "Beneficiary Transfer is not cancelled" ) ;
419+ assert . isOk ( cancelStatus , "Beneficiary Transfer is not cancelled" ) ;
420420
421421 const tx = titleEscrowContractAsBeneficiary . transferBeneficiaryWithSig ( endorsement , sig ) ;
422422
@@ -444,7 +444,7 @@ describe("TitleEscrowSignable", async () => {
444444
445445 it ( "should add correct hash to cancel" , async ( ) => {
446446 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" ) ;
448448
449449 await titleEscrowContractAsEndorsingHolder . cancelBeneficiaryTransfer ( endorsement ) ;
450450
0 commit comments