message: test for disableFuture with keyboard
diff: @@ -31,4 +31,15 @@ describe('DatePickerWrapper', () => {
  expect(spy).toHaveBeenCalled();
  expect(component.state().date.format()).toEqual(moment('2019', 'YYYY').format());
  });
  +
  + it('Should not pass disabled dates', () => {
  + component.setProps({
  + disableFuture: true,
  + });
  + const input = component.find('input');
  + input.simulate('change', { target: { value: '2019' } });
  +
  + expect(spy).toHaveBeenCalled();
  + expect(component.state().date.format()).toEqual(moment(new Date().getFullYear(), 'YYYY').format());
  + });
  });
  