File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/core/markdown/__test__ Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @cparra/apexdocs" ,
3- "version" : " 3.15.0-beta.2 " ,
3+ "version" : " 3.15.0-beta.3 " ,
44 "description" : " Library with CLI capabilities to generate documentation for Salesforce Apex classes." ,
55 "keywords" : [
66 " apex" ,
Original file line number Diff line number Diff line change @@ -284,8 +284,8 @@ export default class RecordViewer extends LightningElement {
284284 const result = await generateDocs ( [ lwcBundle ] ) ( ) ;
285285
286286 assertEither ( result , ( data ) => {
287- expect ( data . docs ) . toHaveLength ( 1 ) ;
288- expect ( data . docs [ 0 ] . source . name ) . toBe ( 'InternalComponent' ) ;
287+ // Non-exposed components should be filtered out
288+ expect ( data . docs ) . toHaveLength ( 0 ) ;
289289 } ) ;
290290 } ) ;
291291 } ) ;
@@ -303,7 +303,7 @@ export default class RecordViewer extends LightningElement {
303303 const minimalXml = `<?xml version="1.0" encoding="UTF-8"?>
304304<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
305305 <apiVersion>60.0</apiVersion>
306- <isExposed>false </isExposed>
306+ <isExposed>true </isExposed>
307307</LightningComponentBundle>` ;
308308
309309 const minimalJs = `import { LightningElement } from 'lwc';
You can’t perform that action at this time.
0 commit comments