mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fixed test validUntil to string
This commit is contained in:
parent
f6c64af047
commit
0361b99a11
@ -63,7 +63,7 @@ describe('TransactionLink', () => {
|
|||||||
const now = new Date()
|
const now = new Date()
|
||||||
jest.clearAllMocks()
|
jest.clearAllMocks()
|
||||||
await wrapper.setProps({
|
await wrapper.setProps({
|
||||||
validUntil: new Date(now.getFullYear(), now.getMonth(), now.getDate() + 2),
|
validUntil: `${new Date(now.getFullYear(), now.getMonth(), now.getDate() + 2)}`,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user