Eliminate references to defunct LSHost in comments (#32018)

This commit is contained in:
Wesley Wigham
2019-06-20 19:11:46 -07:00
committed by GitHub
parent a97c18f227
commit 37b20f6afd
5 changed files with 7 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ namespace ts.tscWatch {
root.content = `import {x} from "f2"`;
host.reloadFS(files);
// trigger synchronization to make sure that LSHost will try to find 'f2' module on disk
// trigger synchronization to make sure that system will try to find 'f2' module on disk
host.runQueuedTimeoutCallbacks();
// ensure file has correct number of errors after edit

View File

@@ -131,10 +131,10 @@ namespace ts.projectSystem {
verifyImportedDiagnostics();
callsTrackingHost.verifyNoHostCalls();
// trigger synchronization to make sure that LSHost will try to find 'f2' module on disk
// trigger synchronization to make sure that the host will try to find 'f2' module on disk
editContent(`import {x} from "f2"`);
try {
// trigger synchronization to make sure that LSHost will try to find 'f2' module on disk
// trigger synchronization to make sure that the host will try to find 'f2' module on disk
verifyImportedDiagnostics();
assert.isTrue(false, `should not find file '${imported.path}'`);
}

View File

@@ -5,7 +5,7 @@ namespace ts.projectSystem {
return resolutionTrace;
}
describe("unittests:: tsserver:: resolutionCache:: tsserverProjectSystem extra resolution pass in lshost", () => {
describe("unittests:: tsserver:: resolutionCache:: tsserverProjectSystem extra resolution pass in server host", () => {
it("can load typings that are proper modules", () => {
const file1 = {
path: "/a/b/app.js",