File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
src/material/core/testing
tools/public_api_guard/material Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
*/
8
8
9
9
import {
10
- ComponentHarness ,
11
10
ComponentHarnessConstructor ,
11
+ ContentContainerComponentHarness ,
12
12
HarnessPredicate ,
13
13
} from '@angular/cdk/testing' ;
14
14
import { OptionHarnessFilters } from './option-harness-filters' ;
15
15
16
16
/** Harness for interacting with an MDC-based `mat-option` in tests. */
17
- export class MatOptionHarness extends ComponentHarness {
17
+ export class MatOptionHarness extends ContentContainerComponentHarness {
18
18
/** Selector used to locate option instances. */
19
19
static hostSelector = '.mat-mdc-option' ;
20
20
Original file line number Diff line number Diff line change 7
7
import { BaseHarnessFilters } from ' @angular/cdk/testing' ;
8
8
import { ComponentHarness } from ' @angular/cdk/testing' ;
9
9
import { ComponentHarnessConstructor } from ' @angular/cdk/testing' ;
10
+ import { ContentContainerComponentHarness } from ' @angular/cdk/testing' ;
10
11
import { HarnessPredicate } from ' @angular/cdk/testing' ;
11
12
12
13
// @public
@@ -19,7 +20,7 @@ export class MatOptgroupHarness extends ComponentHarness {
19
20
}
20
21
21
22
// @public
22
- export class MatOptionHarness extends ComponentHarness {
23
+ export class MatOptionHarness extends ContentContainerComponentHarness {
23
24
click(): Promise <void >;
24
25
getText(): Promise <string >;
25
26
static hostSelector: string ;
You can’t perform that action at this time.
0 commit comments