Update frontend/src/components/TransactionLinks/TransactionLink.spec.js

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
Alexander Friedland 2022-04-22 11:40:25 +02:00 committed by GitHub
parent df958f0be8
commit a54ad7cef4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ describe('TransactionLink', () => {
beforeEach(async () => {
jest.clearAllMocks()
await wrapper.setProps({
validUntil: '2022-05-30T14:22:40.000Z',
validUntil: new Date(now.getFullYear(), now.getMonth(), now.getDate() + 2),
})
})