You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

17 lines
597 B

import { ContentContainerComponentHarness, HarnessPredicate, TestKey } from '@angular/cdk/testing';
class MatBottomSheetHarness extends ContentContainerComponentHarness {
static hostSelector = '.mat-bottom-sheet-container:not([mat-exit])';
static with(options = {}) {
return new HarnessPredicate(MatBottomSheetHarness, options);
}
async getAriaLabel() {
return (await this.host()).getAttribute('aria-label');
}
async dismiss() {
await (await this.host()).sendKeys(TestKey.ESCAPE);
}
}
export { MatBottomSheetHarness };
//# sourceMappingURL=bottom-sheet-testing.mjs.map