@@ -59,7 +59,6 @@ namespace ts.projectSystem {
59
59
60
60
// TODO: Apparently compilerOptions is mutated, so have to repeat it here!
61
61
et . assertProjectInfoTelemetryEvent ( {
62
- projectId : Harness . mockHash ( "/hunter2/foo.csproj" ) ,
63
62
compilerOptions : { strict : true } ,
64
63
compileOnSave : true ,
65
64
// These properties can't be present for an external project, so they are undefined instead of false.
@@ -69,7 +68,7 @@ namespace ts.projectSystem {
69
68
exclude : undefined ,
70
69
configFileName : "other" ,
71
70
projectType : "external" ,
72
- } ) ;
71
+ } , "/hunter2/foo.csproj" ) ;
73
72
74
73
// Also test that opening an external project only sends an event once.
75
74
@@ -202,7 +201,6 @@ namespace ts.projectSystem {
202
201
const et = new TestServerEventManager ( [ jsconfig , file ] ) ;
203
202
et . service . openClientFile ( file . path ) ;
204
203
et . assertProjectInfoTelemetryEvent ( {
205
- projectId : Harness . mockHash ( "/jsconfig.json" ) ,
206
204
fileStats : fileStats ( { js : 1 } ) ,
207
205
compilerOptions : autoJsCompilerOptions ,
208
206
typeAcquisition : {
@@ -211,7 +209,7 @@ namespace ts.projectSystem {
211
209
exclude : false ,
212
210
} ,
213
211
configFileName : "jsconfig.json" ,
214
- } ) ;
212
+ } , "/jsconfig.json" ) ;
215
213
} ) ;
216
214
217
215
it ( "detects whether language service was disabled" , ( ) => {
@@ -222,7 +220,6 @@ namespace ts.projectSystem {
222
220
et . service . openClientFile ( file . path ) ;
223
221
et . getEvent < server . ProjectLanguageServiceStateEvent > ( server . ProjectLanguageServiceStateEvent ) ;
224
222
et . assertProjectInfoTelemetryEvent ( {
225
- projectId : Harness . mockHash ( "/jsconfig.json" ) ,
226
223
fileStats : fileStats ( { js : 1 } ) ,
227
224
compilerOptions : autoJsCompilerOptions ,
228
225
configFileName : "jsconfig.json" ,
@@ -232,7 +229,7 @@ namespace ts.projectSystem {
232
229
exclude : false ,
233
230
} ,
234
231
languageServiceEnabled : false ,
235
- } ) ;
232
+ } , "/jsconfig.json" ) ;
236
233
} ) ;
237
234
238
235
describe ( "open files telemetry" , ( ) => {
0 commit comments