File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ describe('DocElementParser tests', function (): void {
101101 kind : 'linkDocElement' ,
102102 referenceType : 'href' ,
103103 targetUrl : 'https://github.com/OfficeDev/office-ui-fabric-react' ,
104- value : ''
104+ value : 'https://github.com/OfficeDev/office-ui-fabric-react '
105105 } as IHrefLinkElement
106106 ] ;
107107 const actualSummary : IDocElement [ ] = DocElementParser . parse ( myDocumentedClass . documentation , tokenizer ) ;
@@ -203,7 +203,7 @@ describe('DocElementParser tests', function (): void {
203203 kind : 'linkDocElement' ,
204204 referenceType : 'href' ,
205205 targetUrl : 'http://wikipedia.org/pixel_units' ,
206- value : ''
206+ value : 'http://wikipedia.org/pixel_units '
207207 } as IHrefLinkElement
208208 ] ;
209209 const expectedParam : IParam = {
@@ -239,7 +239,7 @@ describe('DocElementParser tests', function (): void {
239239 const linkDocElement : IHrefLinkElement = ( docElements [ 0 ] as IHrefLinkElement ) ;
240240 assert . equal ( linkDocElement . referenceType , 'href' ) ;
241241 assert . equal ( linkDocElement . targetUrl , 'https://microsoft.com' ) ;
242- assert . equal ( linkDocElement . value , '' ) ;
242+ assert . equal ( linkDocElement . value , 'https://microsoft.com ' ) ;
243243 assertCapturedErrors ( [ ] ) ;
244244 } ) ;
245245
Original file line number Diff line number Diff line change 344344 "scopeName" : " " ,
345345 "packageName" : " " ,
346346 "exportName" : " publicEnum" ,
347- "memberName" : " "
347+ "memberName" : " " ,
348+ "value" : " publicEnum"
348349 },
349350 {
350351 "kind" : " linkDocElement" ,
351352 "referenceType" : " code" ,
352353 "scopeName" : " " ,
353354 "packageName" : " " ,
354355 "exportName" : " internalEnum" ,
355- "memberName" : " "
356+ "memberName" : " " ,
357+ "value" : " internalEnum"
356358 }
357359 ],
358360 "remarks" : [],
You can’t perform that action at this time.
0 commit comments