Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
fix(tests): set timestamp to seconds in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dtfiedler committed Nov 27, 2023
1 parent ed2d64d commit a011b83
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/integration/routes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit a011b83

Please sign in to comment.