Skip to content

Commit 711db9d

Browse files
committed
fixup! feat(cdk/testing): make MatButtonHarness extend ContentContainerComponentHarness
1 parent def6acc commit 711db9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/material-experimental/mdc-button/testing/button-harness.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
* found in the LICENSE file at https://angular.io/license
77
*/
88

9-
import {ComponentHarness, HarnessPredicate} from '@angular/cdk/testing';
9+
import {ContentContainerComponentHarness, HarnessPredicate} from '@angular/cdk/testing';
1010
import {coerceBooleanProperty} from '@angular/cdk/coercion';
1111
import {ButtonHarnessFilters} from '@angular/material/button/testing';
1212

1313

1414
/** Harness for interacting with a MDC-based mat-button in tests. */
15-
export class MatButtonHarness extends ComponentHarness {
15+
export class MatButtonHarness extends ContentContainerComponentHarness {
1616
// TODO(jelbourn) use a single class, like `.mat-button-base`
1717
static hostSelector = [
1818
'[mat-button]',

0 commit comments

Comments
 (0)