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

Function matchAccessibleStateIfNeeded

src/queries/role.ts:46–48  ·  view source on GitHub ↗
(instance: TestInstance, options?: ByRoleOptions)

Source from the content-addressed store, hash-verified

44};
45
46const matchAccessibleStateIfNeeded = (instance: TestInstance, options?: ByRoleOptions) => {
47 return options != null ? matchAccessibilityState(instance, options) : true;
48};
49
50const matchAccessibilityValueIfNeeded = (
51 instance: TestInstance,

Callers 1

queryAllByRoleFunction · 0.85

Calls 1

matchAccessibilityStateFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…