(instance: TestInstance, testId: TextMatch, options: TextMatchOptions = {})
| 17 | type ByTestIdOptions = CommonQueryOptions & TextMatchOptions; |
| 18 | |
| 19 | const matchTestId = (instance: TestInstance, testId: TextMatch, options: TextMatchOptions = {}) => { |
| 20 | const { exact, normalizer } = options; |
| 21 | return matches(testId, instance.props.testID, normalizer, exact); |
| 22 | }; |
| 23 | |
| 24 | const queryAllByTestId = (instance: TestInstance): QueryAllByQuery<TextMatch, ByTestIdOptions> => |
| 25 | function queryAllByTestIdFn(testId, queryOptions) { |
no test coverage detected
searching dependent graphs…