mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update frontend/src/components/TransactionLinks/TransactionLink.spec.js
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
e4214bc193
commit
8df93df392
@ -60,6 +60,7 @@ describe('TransactionLink', () => {
|
||||
|
||||
describe('Link validUntil Date is valid ', () => {
|
||||
beforeEach(async () => {
|
||||
const now = new Date()
|
||||
jest.clearAllMocks()
|
||||
await wrapper.setProps({
|
||||
validUntil: new Date(now.getFullYear(), now.getMonth(), now.getDate() + 2),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user