Skip to content

Commit 73e55f0

Browse files
committed
fix: format
1 parent a3f66f2 commit 73e55f0

File tree

1 file changed

+11
-11
lines changed
  • packages/indexer-common/src/indexing-fees/__tests__

1 file changed

+11
-11
lines changed

packages/indexer-common/src/indexing-fees/__tests__/dips.test.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -451,17 +451,17 @@ describe('DipsCollector', () => {
451451
status: CollectPaymentStatus.ACCEPT,
452452
tapReceipt: Buffer.from('1234', 'hex'),
453453
})
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+
)
465465

466466
await dipsCollector.tryCollectPayment(agreement)
467467

0 commit comments

Comments
 (0)