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:

committed by
Matias Niemelä

parent
d4c1ab54a0
commit
20dc436585
@ -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([]);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user