diff --git a/packages/language-service/test/language_service_spec.ts b/packages/language-service/test/language_service_spec.ts index 976cae1c30..38d3de1277 100644 --- a/packages/language-service/test/language_service_spec.ts +++ b/packages/language-service/test/language_service_spec.ts @@ -26,7 +26,7 @@ describe('service without angular', () => { it('should not crash a get template references', () => expect(() => ngService.getTemplateReferences())); - it('should not crash a get dianostics', + it('should not crash a get diagnostics', () => expect(() => ngService.getDiagnostics(fileName)).not.toThrow()); it('should not crash a completion', () => expect(() => ngService.getCompletionsAt(fileName, position)).not.toThrow());