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 8bc7672 commit 4e384c1Copy full SHA for 4e384c1
src/lib/datepicker/datepicker.spec.ts
@@ -275,7 +275,7 @@ describe('MdDatepicker', () => {
275
}));
276
});
277
278
- describe('datepicker with no inputs', () => {
+ fdescribe('datepicker with no inputs', () => {
279
let fixture: ComponentFixture<NoInputDatepicker>;
280
let testComponent: NoInputDatepicker;
281
@@ -291,6 +291,10 @@ describe('MdDatepicker', () => {
291
fixture.detectChanges();
292
293
294
+ it('should not throw when accessing disabled property', () => {
295
+ expect(() => testComponent.datepicker.disabled).not.toThrow();
296
+ });
297
+
298
it('should throw when opened with no registered inputs', async(() => {
299
expect(() => testComponent.datepicker.open()).toThrow();
300
0 commit comments