fix(language-service): update to use CompilerHost from compiler-cli (#13189)

This commit is contained in:
Chuck Jazdzewski
2016-12-02 14:34:16 -08:00
committed by Alex Rickabaugh
parent dfd8140084
commit 3ff6554cbc
11 changed files with 179 additions and 160 deletions

View File

@ -120,6 +120,7 @@ describe('diagnostics', () => {
const originalContent = mockHost.getFileContent(fileName);
const newContent = originalContent + code;
mockHost.override(fileName, originalContent + code);
ngHost.updateAnalyzedModules();
try {
cb(fileName, newContent);
} finally {