Skip to content

Commit

Permalink
Fix date-picker spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stephl3 committed Jan 10, 2025
1 parent 3b80cb4 commit ddce818
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,9 @@ describe('packages/date-picker/shared/date-input-box', () => {
yearInput,
'{backspace}{backspace}{backspace}{backspace}',
);
expect(setValue).toHaveBeenCalledWith(expect.objectContaining(null));
expect(setValue).toHaveBeenCalledWith(
expect.objectContaining({ value: null }),
);
expect(dayInput).toHaveValue('');
expect(monthInput).toHaveValue('');
expect(yearInput).toHaveValue('');
Expand Down

0 comments on commit ddce818

Please sign in to comment.