mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 23:15:24 +02:00
Merge pull request #127 from shyrynaz/fix-datepicker-tests
fix date-picker tests
This commit is contained in:
commit
dc11e5254c
1 changed files with 0 additions and 3 deletions
|
@ -3,9 +3,6 @@ import { fireEvent, render, screen, waitFor } from '@testing-library/react'
|
|||
import { DatePicker } from './'
|
||||
import { DateTime } from 'luxon'
|
||||
|
||||
// Set date to Oct 29, 2021 to keep snapshots consistent
|
||||
beforeAll(() => jest.useFakeTimers().setSystemTime(new Date('2021-10-29 12:00:00')))
|
||||
|
||||
// DatePicker configuration
|
||||
const minDate = DateTime.now().minus({ years: 2 })
|
||||
const maxDate = DateTime.now()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue