@@ -157,7 +157,7 @@ namespace ts.projectSystem {
157157 } ;
158158 const host = createServerHost ( [ file1 ] ) ;
159159 let enqueueIsCalled = false ;
160- let runTsdIsCalled = false ;
160+ let runInstallIsCalled = false ;
161161 const installer = new ( class extends TestTypingsInstaller {
162162 constructor ( ) {
163163 super ( "" , host ) ;
@@ -168,8 +168,8 @@ namespace ts.projectSystem {
168168 }
169169 runTsd ( cachePath : string , typingsToInstall : string [ ] , postInstallAction : ( installedTypings : string [ ] ) => void ) : void {
170170 assert . deepEqual ( typingsToInstall , [ "node" ] ) ;
171- runTsdIsCalled = true ;
172- super . runTsd ( cachePath , typingsToInstall , postInstallAction ) ;
171+ runInstallIsCalled = true ;
172+ super . runInstall ( cachePath , typingsToInstall , postInstallAction ) ;
173173 }
174174 } ) ( ) ;
175175
@@ -184,7 +184,7 @@ namespace ts.projectSystem {
184184 // autoDiscovery is set in typing options - use it even if project contains only .ts files
185185 projectService . checkNumberOfProjects ( { externalProjects : 1 } ) ;
186186 assert . isTrue ( enqueueIsCalled , "expected 'enqueueIsCalled' to be true" ) ;
187- assert . isTrue ( runTsdIsCalled , "expected 'runTsdIsCalled ' to be true" ) ;
187+ assert . isTrue ( runInstallIsCalled , "expected 'runInstallIsCalled ' to be true" ) ;
188188 } ) ;
189189 } ) ;
190190}
0 commit comments