@@ -435,7 +435,7 @@ namespace ts.projectSystem {
435
435
installer . installAll ( /*expectedCount*/ 1 ) ;
436
436
437
437
checkNumberOfProjects ( projectService , { externalProjects : 1 } ) ;
438
- host . checkTimeoutQueueLengthAndRun ( 2 ) ;
438
+ host . checkTimeoutQueueLengthAndRun ( 1 ) ;
439
439
checkNumberOfProjects ( projectService , { externalProjects : 1 } ) ;
440
440
checkProjectActualFiles ( p , [ file2Jsx . path , file3dts . path , lodashDts . path , reactDts . path ] ) ;
441
441
} ) ;
@@ -642,7 +642,7 @@ namespace ts.projectSystem {
642
642
installer . installAll ( /*expectedCount*/ 1 ) ;
643
643
644
644
checkNumberOfProjects ( projectService , { externalProjects : 1 } ) ;
645
- host . checkTimeoutQueueLengthAndRun ( 2 ) ;
645
+ host . checkTimeoutQueueLengthAndRun ( 1 ) ;
646
646
checkNumberOfProjects ( projectService , { externalProjects : 1 } ) ;
647
647
// Commander: Existed as a JS file
648
648
// JQuery: Specified in 'include'
@@ -726,7 +726,7 @@ namespace ts.projectSystem {
726
726
for ( const f of typingFiles ) {
727
727
assert . isTrue ( host . fileExists ( f . path ) , `expected file ${ f . path } to exist` ) ;
728
728
}
729
- host . checkTimeoutQueueLengthAndRun ( 2 ) ;
729
+ host . checkTimeoutQueueLengthAndRun ( 1 ) ;
730
730
checkNumberOfProjects ( projectService , { externalProjects : 1 } ) ;
731
731
checkProjectActualFiles ( p , [ file3 . path , commander . path , express . path , jquery . path , moment . path , lodash . path ] ) ;
732
732
} ) ;
@@ -829,7 +829,7 @@ namespace ts.projectSystem {
829
829
assert . equal ( installer . pendingRunRequests . length , 0 , "expected no throttled requests" ) ;
830
830
831
831
installer . executePendingCommands ( ) ;
832
- host . checkTimeoutQueueLengthAndRun ( 3 ) ; // for 2 projects and 1 refreshing inferred project
832
+ host . checkTimeoutQueueLengthAndRun ( 2 ) ; // for 2 projects
833
833
checkProjectActualFiles ( p1 , [ file3 . path , commander . path , jquery . path , lodash . path , cordova . path ] ) ;
834
834
checkProjectActualFiles ( p2 , [ file3 . path , grunt . path , gulp . path ] ) ;
835
835
} ) ;
0 commit comments