fixed test validUntil to string

This commit is contained in:
ogerly 2022-04-22 12:17:43 +02:00
parent f6c64af047
commit 0361b99a11

View File

@ -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)}`,
}) })
}) })