We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7610391 commit 710362bCopy full SHA for 710362b
src/__tests__/DatePicker.jsx
@@ -28,6 +28,16 @@ describe('DatePicker', () => {
28
expect(dateInput.prop('name')).toBe(name);
29
});
30
31
+ it('passes disabled flag to DateInput', () => {
32
+ const component = mount(
33
+ <DatePicker disabled />
34
+ );
35
+
36
+ const dateInput = component.find('DateInput');
37
38
+ expect(dateInput.prop('disabled')).toBeTruthy();
39
+ });
40
41
it('passes format to DateInput', () => {
42
const format = 'y-MM-dd';
43
0 commit comments