MCPcopy Create free account
hub / github.com/callstack/react-native-testing-library / queryAllByHintText

Function queryAllByHintText

src/queries/hint-text.ts:28–37  ·  view source on GitHub ↗
(
  instance: TestInstance,
)

Source from the content-addressed store, hash-verified

26};
27
28const 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
39const getMultipleError = (hint: TextMatch) =>
40 `Found multiple elements with accessibility hint: ${String(hint)} `;

Callers

nothing calls this directly

Calls 2

findAllFunction · 0.90
getInstanceByHintTextFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…