Skip to content

Commit 8e01f79

Browse files
committed
fix: spy
1 parent 7c1b808 commit 8e01f79

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ describe('DipsCollector', () => {
476476
status: CollectPaymentStatus.ACCEPT,
477477
tapReceipt: Buffer.from('1234', 'hex'),
478478
})
479-
GatewayDipsServiceMessages.decodeTapReceipt = jest.fn().mockImplementation(() => {
479+
jest.spyOn(GatewayDipsServiceMessages, 'decodeTapReceipt').mockImplementation(() => {
480480
logger.info('MOCK Decoding TAP receipt')
481481
return {
482482
allocation_id: toAddress(testAllocationId),

0 commit comments

Comments
 (0)