Skip to content

Commit

Permalink
fix(date picker): enable skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
colinrotherham committed Jan 31, 2025
1 parent 895d8e0 commit cad4ff2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/moj/components/date-picker/date-picker.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ describe('button menu JS API', () => {
expect(input).toHaveValue(dateToSelect.format('DD/MM/YYYY'))
})

test.skip.failing('minDate', async () => {
test('minDate', async () => {
const minDay = 3
const lastDayinMonth = dayjs().endOf('month').date()
const minDate = dayjs().date(minDay)
Expand Down Expand Up @@ -1004,7 +1004,7 @@ describe('Datepicker data-attributes API', () => {
expect(input).toHaveValue(dateToSelect.format('DD/MM/YYYY'))
})

test.skip.failing('minDate', async () => {
test('minDate', async () => {
const minDay = 3
const lastDayinMonth = dayjs().endOf('month').date()
const minDate = dayjs().date(minDay)
Expand Down

0 comments on commit cad4ff2

Please sign in to comment.