build(docs-infra): include directives etc in class descendants lists (#25768)
PR Close #25768
This commit is contained in:

committed by
Alex Rickabaugh

parent
ce06a75ebf
commit
15dadb92ef
@ -8,7 +8,19 @@ describe('Api pages', function() {
|
||||
|
||||
it('should show direct and indirect subclasses of a class', () => {
|
||||
const page = new ApiPage('api/forms/AbstractControlDirective');
|
||||
expect(page.getDescendants('class')).toEqual(['ControlContainer', 'AbstractFormGroupDirective', 'NgControl']);
|
||||
expect(page.getDescendants('class')).toEqual([
|
||||
'ControlContainer',
|
||||
'AbstractFormGroupDirective',
|
||||
'NgModelGroup',
|
||||
'FormGroupName',
|
||||
'NgForm',
|
||||
'FormGroupDirective',
|
||||
'FormArrayName',
|
||||
'NgControl',
|
||||
'NgModel',
|
||||
'FormControlDirective',
|
||||
'FormControlName'
|
||||
]);
|
||||
});
|
||||
|
||||
it('should show child interfaces that extend an interface', () => {
|
||||
|
Reference in New Issue
Block a user