File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1009,7 +1009,7 @@ namespace ts.projectSystem {
1009
1009
installer . installAll ( /*expectedCount*/ 1 ) ;
1010
1010
} ) ;
1011
1011
1012
- it ( "cached unresolved typings are not recomputed if program structure did not change " , ( ) => {
1012
+ it ( "should recompute resolutions after typings are installed " , ( ) => {
1013
1013
const host = createServerHost ( [ ] ) ;
1014
1014
const session = createSession ( host ) ;
1015
1015
const f = {
@@ -1051,7 +1051,7 @@ namespace ts.projectSystem {
1051
1051
session . executeCommand ( changeRequest ) ;
1052
1052
host . checkTimeoutQueueLengthAndRun ( 2 ) ; // This enqueues the updategraph and refresh inferred projects
1053
1053
const version2 = proj . getCachedUnresolvedImportsPerFile_TestOnly ( ) . getVersion ( ) ;
1054
- assert . equal ( version1 , version2 , "set of unresolved imports should not change" ) ;
1054
+ assert . notEqual ( version1 , version2 , "set of unresolved imports should change" ) ;
1055
1055
} ) ;
1056
1056
} ) ;
1057
1057
You can’t perform that action at this time.
0 commit comments