UNPKG

@angular/material

Version:
18 lines (15 loc) 522 B
import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing'; class MatDividerHarness extends ComponentHarness { static hostSelector = '.mat-divider'; static with(options = {}) { return new HarnessPredicate(MatDividerHarness, options); } async getOrientation() { return (await this.host()).getAttribute('aria-orientation'); } async isInset() { return (await this.host()).hasClass('mat-divider-inset'); } } export { MatDividerHarness }; //# sourceMappingURL=divider-testing.mjs.map