(
type: ComponentHarnessConstructor<T>,
options: CellHarnessFilters,
)
| 40 | } |
| 41 | |
| 42 | protected static _getCellPredicate<T extends MatCellHarness>( |
| 43 | type: ComponentHarnessConstructor<T>, |
| 44 | options: CellHarnessFilters, |
| 45 | ): HarnessPredicate<T> { |
| 46 | return new HarnessPredicate(type, options) |
| 47 | .addOption('text', options.text, (harness, text) => |
| 48 | HarnessPredicate.stringMatches(harness.getText(), text), |
| 49 | ) |
| 50 | .addOption('columnName', options.columnName, (harness, name) => |
| 51 | HarnessPredicate.stringMatches(harness.getColumnName(), name), |
| 52 | ); |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | /** Harness for interacting with an Angular Material table cell. */ |
nothing calls this directly
no test coverage detected