MCPcopy Create free account
hub / github.com/angular/components / hasParseError

Function hasParseError

src/material/datepicker/datepicker.spec.ts:1117–1122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1115 });
1116
1117 function hasParseError() {
1118 return fixture.componentInstance
1119 .dateForm()
1120 .errors()
1121 .some(error => error.kind === 'matDatepickerParse');
1122 }
1123
1124 it('should set the matDatepickerParse error when an invalid value is typed into an empty input', () => {
1125 expect(hasParseError()).toBe(false);

Callers 1

datepicker.spec.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected