Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gpbl committed May 13, 2018
1 parent 1614d9e commit fa873bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/daypickerinput/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ describe('DayPickerInput', () => {
expect(defaultParse('2012-2-0')).toBeUndefined();
expect(defaultParse('2012-0-20')).toBeUndefined();
expect(defaultParse('2012-13-20')).toBeUndefined();
expect(defaultParse('20112-13-20')).toBeUndefined();
});
it('should return a parsed date', () => {
const parsed = defaultParse('2018-7-12');
Expand Down

0 comments on commit fa873bc

Please sign in to comment.