Skip to content

Commit

Permalink
fix: format
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarranzav committed Feb 21, 2025
1 parent e64f7cd commit 7ac7f4f
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,17 +451,17 @@ describe('DipsCollector', () => {
status: CollectPaymentStatus.ACCEPT,
tapReceipt: Buffer.from('1234', 'hex'),
})
;(decodeTapReceipt as jest.Mock)
.mockReturnValue({
allocation_id: toAddress(testAllocationId),
signer_address: toAddress('0xabcd56df41234949a75a6693c77834c00b8abbbb'),
signature: Buffer.from('1234', 'hex'),
timestamp_ns: 1234567890,
nonce: 1,
value: '1000',
})
;(getEscrowSenderForSigner as jest.Mock)
.mockResolvedValue(toAddress('0x123456df40c29949a75a6693c77834c00b8a5678'))
;(decodeTapReceipt as jest.Mock).mockReturnValue({
allocation_id: toAddress(testAllocationId),
signer_address: toAddress('0xabcd56df41234949a75a6693c77834c00b8abbbb'),
signature: Buffer.from('1234', 'hex'),
timestamp_ns: 1234567890,
nonce: 1,
value: '1000',
})
;(getEscrowSenderForSigner as jest.Mock).mockResolvedValue(
toAddress('0x123456df40c29949a75a6693c77834c00b8a5678'),
)

await dipsCollector.tryCollectPayment(agreement)

Expand Down

0 comments on commit 7ac7f4f

Please sign in to comment.