source: trip-planner-front/node_modules/@angular/material/fesm2015/divider/testing.js@ e29cc2e

Last change on this file since e29cc2e was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.6 KB
Line 
1import { __awaiter } from 'tslib';
2import { ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
3
4/**
5 * @license
6 * Copyright Google LLC All Rights Reserved.
7 *
8 * Use of this source code is governed by an MIT-style license that can be
9 * found in the LICENSE file at https://angular.io/license
10 */
11/** Harness for interacting with a `mat-divider`. */
12class MatDividerHarness extends ComponentHarness {
13 static with(options = {}) {
14 return new HarnessPredicate(MatDividerHarness, options);
15 }
16 getOrientation() {
17 return __awaiter(this, void 0, void 0, function* () {
18 return (yield this.host()).getAttribute('aria-orientation');
19 });
20 }
21 isInset() {
22 return __awaiter(this, void 0, void 0, function* () {
23 return (yield this.host()).hasClass('mat-divider-inset');
24 });
25 }
26}
27MatDividerHarness.hostSelector = '.mat-divider';
28
29/**
30 * @license
31 * Copyright Google LLC All Rights Reserved.
32 *
33 * Use of this source code is governed by an MIT-style license that can be
34 * found in the LICENSE file at https://angular.io/license
35 */
36
37/**
38 * @license
39 * Copyright Google LLC All Rights Reserved.
40 *
41 * Use of this source code is governed by an MIT-style license that can be
42 * found in the LICENSE file at https://angular.io/license
43 */
44
45/**
46 * @license
47 * Copyright Google LLC All Rights Reserved.
48 *
49 * Use of this source code is governed by an MIT-style license that can be
50 * found in the LICENSE file at https://angular.io/license
51 */
52
53export { MatDividerHarness };
54//# sourceMappingURL=testing.js.map
Note: See TracBrowser for help on using the repository browser.