File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
src/material/tree/testing
tools/public_api_guard/material/tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
import {
10
- ComponentHarness ,
11
10
ComponentHarnessConstructor ,
12
- HarnessPredicate
11
+ ContentContainerComponentHarness ,
12
+ HarnessPredicate ,
13
13
} from '@angular/cdk/testing' ;
14
14
import { TreeNodeHarnessFilters } from './tree-harness-filters' ;
15
15
import { coerceBooleanProperty , coerceNumberProperty } from '@angular/cdk/coercion' ;
16
16
17
17
/** Harness for interacting with a standard Angular Material tree node. */
18
- export class MatTreeNodeHarness extends ComponentHarness {
18
+ export class MatTreeNodeHarness extends ContentContainerComponentHarness < string > {
19
19
/** The selector of the host element of a `MatTreeNode` instance. */
20
20
static hostSelector = '.mat-tree-node, .mat-nested-tree-node' ;
21
21
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ export declare class MatTreeHarness extends ComponentHarness {
4
4
static with ( options ?: TreeHarnessFilters ) : HarnessPredicate < MatTreeHarness > ;
5
5
}
6
6
7
- export declare class MatTreeNodeHarness extends ComponentHarness {
7
+ export declare class MatTreeNodeHarness extends ContentContainerComponentHarness < string > {
8
8
_toggle : import ( "@angular/cdk/testing" ) . AsyncFactoryFn < import ( "@angular/cdk/testing" ) . TestElement | null > ;
9
9
collapse ( ) : Promise < void > ;
10
10
expand ( ) : Promise < void > ;
You can’t perform that action at this time.
0 commit comments