Skip to content

Commit

Permalink
ADM-551:[frontend][fix] justify related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YG1022 committed Aug 8, 2023
1 parent cffdbad commit fd16977
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ describe('DateRangePicker', () => {

it('should Auto-fill endDate which is after startDate 14 days when fill right startDate ', () => {
const { getByRole } = setup()
const endDate = TODAY.add(14, 'day')
const endDate = TODAY.add(13, 'day')
const startDateInput = getByRole('textbox', { name: START_DATE_LABEL }) as HTMLInputElement
const endDateInput = getByRole('textbox', { name: END_DATE_LABEL }) as HTMLInputElement

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ describe('MetricsStepper', () => {
board: { boardId: '', email: '', projectKey: '', site: '', token: '', type: 'Jira' },
calendarType: 'Regular Calendar(Weekend Considered)',
dateRange: {
endDate: dayjs().endOf('date').add(14, 'day').format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
endDate: dayjs().endOf('date').add(13, 'day').format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
startDate: dayjs().startOf('date').format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
},
metrics: ['Velocity', 'Lead time for changes'],
Expand Down Expand Up @@ -350,7 +350,7 @@ describe('MetricsStepper', () => {
board: { boardId: '', email: '', projectKey: '', site: '', token: '', type: 'Jira' },
calendarType: 'Regular Calendar(Weekend Considered)',
dateRange: {
endDate: dayjs().endOf('date').add(14, 'day').format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
endDate: dayjs().endOf('date').add(13, 'day').format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
startDate: dayjs().startOf('date').format('YYYY-MM-DDTHH:mm:ss.SSSZ'),
},
metrics: ['Velocity', 'Lead time for changes'],
Expand Down

0 comments on commit fd16977

Please sign in to comment.