From a011b83b5ef5620f2fcb1d915c46efaf5e7359c4 Mon Sep 17 00:00:00 2001 From: dtfiedler Date: Mon, 27 Nov 2023 11:18:21 -0800 Subject: [PATCH] fix(tests): set timestamp to seconds in tests --- tests/integration/routes.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/routes.test.ts b/tests/integration/routes.test.ts index 1205963..edd5f59 100644 --- a/tests/integration/routes.test.ts +++ b/tests/integration/routes.test.ts @@ -82,7 +82,9 @@ describe('Integration tests', () => { height: (await arweave.blocks.getCurrent()).height, input: transferInteraction, owner: walletAddress, - timestamp: (await arweave.blocks.getCurrent()).timestamp, + timestamp: +( + (await arweave.blocks.getCurrent()).timestamp / 1000 + ).toFixed(), valid: true, id: writeInteraction!.originalTxId, });