MCPcopy Index your code
hub / github.com/callstack/react-native-testing-library / getMissingError

Function getMissingError

src/queries/text.ts:30–30  ·  view source on GitHub ↗
(text: TextMatch)

Source from the content-addressed store, hash-verified

28const getMultipleError = (text: TextMatch) => `Found multiple elements with text: ${String(text)}`;
29
30const getMissingError = (text: TextMatch) => `Unable to find an element with text: ${String(text)}`;
31
32const { getBy, getAllBy, queryBy, queryAllBy, findBy, findAllBy } = makeQueries(
33 queryAllByText,

Callers 2

getAllByQueryFunction · 0.70
getByQueryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…