File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
packages/indexer-common/src/indexing-fees/__tests__ Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -451,17 +451,17 @@ describe('DipsCollector', () => {
451
451
status : CollectPaymentStatus . ACCEPT ,
452
452
tapReceipt : Buffer . from ( '1234' , 'hex' ) ,
453
453
} )
454
- ; ( decodeTapReceipt as jest . Mock )
455
- . mockReturnValue ( {
456
- allocation_id : toAddress ( testAllocationId ) ,
457
- signer_address : toAddress ( '0xabcd56df41234949a75a6693c77834c00b8abbbb ') ,
458
- signature : Buffer . from ( '1234' , 'hex' ) ,
459
- timestamp_ns : 1234567890 ,
460
- nonce : 1 ,
461
- value : '1000' ,
462
- } )
463
- ; ( getEscrowSenderForSigner as jest . Mock )
464
- . mockResolvedValue ( toAddress ( '0x123456df40c29949a75a6693c77834c00b8a5678' ) )
454
+ ; ( decodeTapReceipt as jest . Mock ) . mockReturnValue ( {
455
+ allocation_id : toAddress ( testAllocationId ) ,
456
+ signer_address : toAddress ( '0xabcd56df41234949a75a6693c77834c00b8abbbb' ) ,
457
+ signature : Buffer . from ( '1234' , 'hex ') ,
458
+ timestamp_ns : 1234567890 ,
459
+ nonce : 1 ,
460
+ value : '1000' ,
461
+ } )
462
+ ; ( getEscrowSenderForSigner as jest . Mock ) . mockResolvedValue (
463
+ toAddress ( '0x123456df40c29949a75a6693c77834c00b8a5678' ) ,
464
+ )
465
465
466
466
await dipsCollector . tryCollectPayment ( agreement )
467
467
You can’t perform that action at this time.
0 commit comments