Skip to content

Commit 4d85931

Browse files
committed
[Tests] tiny coverage bump
1 parent 0b1c7ee commit 4d85931

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test/components/DateRangePicker_spec.jsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,13 @@ describe('DateRangePicker', () => {
118118
)).dive();
119119
expect(wrapper.find(DateRangePickerInputController).prop('isDayBlocked')).to.equal(isDayBlocked);
120120
});
121+
122+
it('is a noop when omitted', () => {
123+
const wrapper = shallow((
124+
<DateRangePicker {...requiredProps} />
125+
)).dive();
126+
expect(wrapper.find(DateRangePickerInputController).prop('isDayBlocked')).not.to.throw();
127+
});
121128
});
122129

123130
describe('props.appendToBody', () => {

0 commit comments

Comments
 (0)