Skip to content

Commit ee103b5

Browse files
author
React-Admin CI
committed
Fix test that was converted to story incorrectly
1 parent 9c3d5d1 commit ee103b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ra-ui-materialui/src/input/DateInput.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ describe('<DateInput />', () => {
7979
<Basic
8080
simpleFormProps={{
8181
onSubmit,
82-
defaultValues: { publishedAt: '2021-09-11' },
82+
defaultValues: { publishedAt: new Date('2021-09-11') },
8383
}}
8484
/>
8585
);

0 commit comments

Comments
 (0)