Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ChetanKarwa committed Feb 1, 2024
1 parent 19a282f commit 27883e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Header Component', () => {

const StartDate30 = today.clone().subtract(30, 'days');
expect(monthElement).toHaveTextContent(
`${StartDate30.format('DD MMM YYYY')} - ${expectedEndDate.format('DD MMM YYYY')}`
`${StartDate30.format('DD MMM')} - ${expectedEndDate.format('DD MMM YYYY')}`
);

act(() => {
Expand Down

0 comments on commit 27883e4

Please sign in to comment.