Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi committed Aug 13, 2019
1 parent 98a017c commit 823121b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/ra-ui-materialui/src/input/DateInput.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,7 @@ describe('<DateInput />', () => {
fireEvent.change(input, {
target: { value: '2010-01-04' },
});
expect(formApi.getState().values.publishedAt).toEqual(
new Date('2010-01-04')
);
expect(formApi.getState().values.publishedAt).toEqual('2010-01-04');
});

describe('error message', () => {
Expand Down

0 comments on commit 823121b

Please sign in to comment.