* Gets a `HarnessPredicate` that can be used to search for a list with specific attributes. * @param options Options for filtering which list instances are considered a match. * @return a `HarnessPredicate` configured with the given options.
(
this: ComponentHarnessConstructor<T>,
options: ListHarnessFilters = {},
)
| 26 | * @return a `HarnessPredicate` configured with the given options. |
| 27 | */ |
| 28 | static with<T extends MatListHarness>( |
| 29 | this: ComponentHarnessConstructor<T>, |
| 30 | options: ListHarnessFilters = {}, |
| 31 | ): HarnessPredicate<T> { |
| 32 | return new HarnessPredicate(this, options); |
| 33 | } |
| 34 | |
| 35 | override _itemHarness = MatListItemHarness; |
| 36 | } |
no outgoing calls