fix(aio): ignore private exports

Closes #14992
This commit is contained in:
Peter Bacon Darwin
2017-03-12 13:27:47 +00:00
committed by Chuck Jazdzewski
parent 62d5543b01
commit 3f7cfde476
7 changed files with 93 additions and 4 deletions

View File

@ -83,11 +83,12 @@ describe('generateApiListDoc processor', () => {
]);
});
it('should ignore internal exports', () => {
it('should ignore internal and private exports', () => {
const processor = processorFactory();
const docs = [
{ docType: 'module', id: '@angular/common/index', exports: [
{ docType: 'directive', name: 'AaaAaa', path: 'aaa', internal: true },
{ docType: 'class', name: 'XxxXxx', path: 'xxx', privateExport: true },
{ docType: 'pipe', name: 'BbbBbb', path: 'bbb' }
]}
];