( instance: TestInstance, )
| 26 | }; |
| 27 | |
| 28 | const queryAllByHintText = ( |
| 29 | instance: TestInstance, |
| 30 | ): QueryAllByQuery<TextMatch, ByHintTextOptions> => |
| 31 | function queryAllByA11yHintFn(hint, queryOptions) { |
| 32 | return findAll( |
| 33 | instance, |
| 34 | (item) => getInstanceByHintText(item, hint, queryOptions), |
| 35 | queryOptions, |
| 36 | ); |
| 37 | }; |
| 38 | |
| 39 | const getMultipleError = (hint: TextMatch) => |
| 40 | `Found multiple elements with accessibility hint: ${String(hint)} `; |
nothing calls this directly
no test coverage detected
searching dependent graphs…