fix(language-service): rename getDiagnostics to getSemanticDiagnostics (#34909)

https://github.com/angular/angular/pull/34888 changed the name of the
API for LanguageService but the patch branch was broken after the commit
landed on master.

PR Close #34909
This commit is contained in:
Keen Yee Liau
2020-01-22 12:22:29 -08:00
committed by Matias Niemelä
parent d4c1ab54a0
commit 20dc436585

View File

@ -124,7 +124,7 @@ describe('diagnostics', () => {
mockHost.override(TEST_TEMPLATE, `
<test-comp (test)="myClick.bind(this)">
</test-comp>`);
const diags = ngLS.getDiagnostics(TEST_TEMPLATE);
const diags = ngLS.getSemanticDiagnostics(TEST_TEMPLATE);
expect(diags).toEqual([]);
});