File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -51,21 +51,21 @@ suite('TelemetryReporterObserver', () => {
5151
5252 test ( `${ ProjectConfiguration . name } : Telemetry props contains project file path and target framework` , ( ) => {
5353 const targetFrameworks = new Array ( "tfm1" , "tfm2" ) ;
54- const projectFilePath = "projectFilePath" ;
54+ const projectId = "projectFilePath" ;
5555 const references = new Array ( "ref1" , "ref2" ) ;
5656 const fileExtensions = new Array ( ".cs" , ".cshtml" ) ;
5757 let event = new ProjectConfiguration ( {
5858 TargetFrameworks : targetFrameworks ,
59- ProjectGuid : projectFilePath ,
59+ ProjectGuid : projectId ,
6060 References : references ,
6161 FileExtensions : fileExtensions
6262 } ) ;
6363
6464 observer . post ( event ) ;
65- expect ( property [ "TargetFrameworks" ] ) . to . be . equal ( "tfm1; tfm2" ) ;
66- expect ( property [ "ProjectGuid " ] ) . to . be . equal ( projectFilePath ) ;
67- expect ( property [ "References" ] ) . to . be . equal ( "ref1; ref2" ) ;
68- expect ( property [ "FileExtensions" ] ) . to . be . equal ( ".cs; .cshtml" ) ;
65+ expect ( property [ "TargetFrameworks" ] ) . to . be . equal ( "tfm1| tfm2" ) ;
66+ expect ( property [ "ProjectId " ] ) . to . be . equal ( projectId ) ;
67+ expect ( property [ "References" ] ) . to . be . equal ( "ref1| ref2" ) ;
68+ expect ( property [ "FileExtensions" ] ) . to . be . equal ( ".cs| .cshtml" ) ;
6969 } ) ;
7070
7171 [
You can’t perform that action at this time.
0 commit comments