From dfc52e284b76c55d5c2d7672fba25e5f529bdcda Mon Sep 17 00:00:00 2001 From: yomarion Date: Tue, 18 Oct 2022 15:03:58 +0200 Subject: [PATCH] fix: NEAR native timestamp precision --- packages/payment-detection/test/near/near-native.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/payment-detection/test/near/near-native.test.ts b/packages/payment-detection/test/near/near-native.test.ts index 58ed081cc..3694bc929 100644 --- a/packages/payment-detection/test/near/near-native.test.ts +++ b/packages/payment-detection/test/near/near-native.test.ts @@ -64,7 +64,7 @@ describe('Near payments detection', () => { expect(events).toHaveLength(1); expect(events[0].amount).toBe('1000000000000000000000000'); - expect(events[0].timestamp).toBe(1631788427230); + expect(events[0].timestamp).toBe(1631788427); expect(events[0].parameters?.receiptId).toBe('FYVnCvJFoNtK7LE2uAdTFfReFMGiCUHMczLsvEni1Cpf'); expect(events[0].parameters?.txHash).toBeUndefined(); expect(events[0].parameters?.block).toBe(47891257);