Skip to content

Commit f7df5ad

Browse files
committed
fix lint
1 parent fd2e467 commit f7df5ad

2 files changed

Lines changed: 25 additions & 0 deletions

File tree

src/material/config.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ entryPoints = [
1010
"button-toggle",
1111
"button-toggle/testing",
1212
"card",
13+
"card/testing",
1314
"checkbox",
1415
"checkbox/testing",
1516
"chips",
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
export interface CardHarnessFilters extends BaseHarnessFilters {
2+
subtitle?: string | RegExp;
3+
text?: string | RegExp;
4+
title?: string | RegExp;
5+
}
6+
7+
export declare class MatCardHarness extends ComponentHarness implements HarnessLoader {
8+
getAllChildLoaders(selector: string): Promise<HarnessLoader[]>;
9+
getAllHarnesses<T extends ComponentHarness>(query: HarnessQuery<T>): Promise<T[]>;
10+
getChildLoader(selector: string): Promise<HarnessLoader>;
11+
getHarness<T extends ComponentHarness>(query: HarnessQuery<T>): Promise<T>;
12+
getSubtitleText(): Promise<string>;
13+
getText(): Promise<string>;
14+
getTitleText(): Promise<string>;
15+
static hostSelector: string;
16+
static with(options?: CardHarnessFilters): HarnessPredicate<MatCardHarness>;
17+
}
18+
19+
export declare const enum MatCardSection {
20+
HEADER = ".mat-card-header",
21+
CONTENT = ".mat-card-content",
22+
ACTIONS = ".mat-card-actions",
23+
FOOTER = ".mat-card-footer"
24+
}

0 commit comments

Comments
 (0)