@@ -3629,7 +3629,7 @@ namespace ts.projectSystem {
36293629 host . runQueuedTimeoutCallbacks ( ) ;
36303630 diags = session . executeCommand ( getErrRequest ) . response as server . protocol . Diagnostic [ ] ;
36313631 verifyDiagnostics ( diags , [
3632- { diagnosticMessage : Diagnostics . Cannot_find_module_0 , errorTextArguments : [ "./moduleFile" ] }
3632+ { diagnosticMessage : Diagnostics . Cannot_find_module_0_or_cannot_find_corresponding_type_declarations_for_this_module , errorTextArguments : [ "./moduleFile" ] }
36333633 ] ) ;
36343634 assert . equal ( diags . length , 1 ) ;
36353635
@@ -3680,7 +3680,7 @@ namespace ts.projectSystem {
36803680 host . runQueuedTimeoutCallbacks ( ) ;
36813681 diags = session . executeCommand ( getErrRequest ) . response as server . protocol . Diagnostic [ ] ;
36823682 verifyDiagnostics ( diags , [
3683- { diagnosticMessage : Diagnostics . Cannot_find_module_0 , errorTextArguments : [ "./moduleFile" ] }
3683+ { diagnosticMessage : Diagnostics . Cannot_find_module_0_or_cannot_find_corresponding_type_declarations_for_this_module , errorTextArguments : [ "./moduleFile" ] }
36843684 ] ) ;
36853685
36863686 moduleFile . path = moduleFileOldPath ;
@@ -3755,7 +3755,7 @@ namespace ts.projectSystem {
37553755 ) ;
37563756 let diags = session . executeCommand ( getErrRequest ) . response as server . protocol . Diagnostic [ ] ;
37573757 verifyDiagnostics ( diags , [
3758- { diagnosticMessage : Diagnostics . Cannot_find_module_0 , errorTextArguments : [ "./moduleFile" ] }
3758+ { diagnosticMessage : Diagnostics . Cannot_find_module_0_or_cannot_find_corresponding_type_declarations_for_this_module , errorTextArguments : [ "./moduleFile" ] }
37593759 ] ) ;
37603760
37613761 host . reloadFS ( [ file1 , moduleFile ] ) ;
@@ -3808,7 +3808,7 @@ namespace ts.projectSystem {
38083808 session . clearMessages ( ) ;
38093809
38103810 host . runQueuedImmediateCallbacks ( ) ;
3811- const moduleNotFound = Diagnostics . Cannot_find_module_0 ;
3811+ const moduleNotFound = Diagnostics . Cannot_find_module_0_or_cannot_find_corresponding_type_declarations_for_this_module ;
38123812 const startOffset = file1 . content . indexOf ( '"' ) + 1 ;
38133813 checkErrorMessage ( session , "semanticDiag" , {
38143814 file : file1 . path , diagnostics : [ {
@@ -5598,7 +5598,7 @@ namespace ts.projectSystem {
55985598 let diags = project . getLanguageService ( ) . getSemanticDiagnostics ( root . path ) ;
55995599 assert . equal ( diags . length , 1 ) ;
56005600 const diag = diags [ 0 ] ;
5601- assert . equal ( diag . code , Diagnostics . Cannot_find_module_0 . code ) ;
5601+ assert . equal ( diag . code , Diagnostics . Cannot_find_module_0_or_cannot_find_corresponding_type_declarations_for_this_module . code ) ;
56025602 assert . equal ( flattenDiagnosticMessageText ( diag . messageText , "\n" ) , "Cannot find module 'bar'." ) ;
56035603 callsTrackingHost . verifyCalledOn ( CalledMapsWithSingleArg . fileExists , imported . path ) ;
56045604
0 commit comments