Skip to content

Commit

Permalink
test: still trying to fix timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
JustSamuel committed Aug 29, 2024
1 parent 9df8327 commit 560858d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/service/seller-payout-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ describe('SellerPayoutService', () => {
expect(sellerPayout.transfer).to.not.be.undefined;
expect(sellerPayout.transfer.fromId).to.equal(params.requestedById);
expect(sellerPayout.transfer.toId).to.be.null;
const transferCreationDate = Math.floor(sellerPayout.transfer.createdAt.getTime() / 1000);
const transferCreationDate = sellerPayout.transfer.createdAt.getTime();
expect(transferCreationDate).to.equal(actualEndDate);

const incomingTransactions = ctx.subTransactions.filter((s) => s.to.id === params.requestedById);
Expand Down

0 comments on commit 560858d

Please sign in to comment.