@@ -503,15 +503,15 @@ describe('IdentityClient', () => {
503503 keyID : mockContact . identityKey ,
504504 counterparty : 'self' ,
505505 data : expect . any ( Uint8Array )
506- } )
506+ } , undefined )
507507
508508 // Verify contact data was encrypted
509509 expect ( walletMock . encrypt ) . toHaveBeenCalledWith ( {
510510 plaintext : expect . any ( Uint8Array ) ,
511511 protocolID : [ 2 , 'contact' ] ,
512512 keyID : expect . any ( String ) ,
513513 counterparty : 'self'
514- } )
514+ } , undefined )
515515
516516 // Verify new contact transaction was created
517517 expect ( walletMock . createAction ) . toHaveBeenCalledWith (
@@ -523,7 +523,8 @@ describe('IdentityClient', () => {
523523 outputDescription : `Contact: ${ mockContact . name } `
524524 } )
525525 ] )
526- } )
526+ } ) ,
527+ undefined
527528 )
528529
529530 // Verify contact is now available from cache
@@ -587,7 +588,8 @@ describe('IdentityClient', () => {
587588 outpoint : 'txid.0'
588589 } )
589590 ] )
590- } )
591+ } ) ,
592+ undefined
591593 )
592594 } )
593595 } )
@@ -639,7 +641,7 @@ describe('IdentityClient', () => {
639641 includeCustomInstructions : true ,
640642 tags : [ ] ,
641643 limit : 1000
642- } )
644+ } , undefined )
643645
644646 // Verify subsequent call uses cache
645647 jest . clearAllMocks ( )
@@ -740,7 +742,8 @@ describe('IdentityClient', () => {
740742 } )
741743 ] ) ,
742744 outputs : [ ] // No outputs for deletion
743- } )
745+ } ) ,
746+ undefined
744747 )
745748
746749 // Verify contact is removed from cache
0 commit comments