Skip to content

Commit

Permalink
Fix failed test (#2216)
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-blazhko authored and mkuklis committed Aug 19, 2022
1 parent cd5e9c9 commit c03b086
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,12 @@ const props = {
form: {
change: changeMock,
getFieldState: jest.fn(() => {
return { value: '2022-08-16T02:01:15.606+00:00' };
const dateIncrement = 1;
const tomorrow = new Date();

tomorrow.setDate(tomorrow.getDate() + dateIncrement);

return { value: tomorrow.toJSON() };
})
},
accordionId: 'editUserInfo',
Expand Down

0 comments on commit c03b086

Please sign in to comment.