fix(language-service): update to use CompilerHost
from compiler-cli (#13189)
This commit is contained in:

committed by
Alex Rickabaugh

parent
dfd8140084
commit
3ff6554cbc
@ -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 {
|
||||
|
Reference in New Issue
Block a user