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

Function getIsReactActEnvironment

src/act.ts:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17function getIsReactActEnvironment() {
18 return globalThis.IS_REACT_ACT_ENVIRONMENT;
19}
20
21function withGlobalActEnvironment(actImplementation: ReactAct) {
22 return (callback: Parameters<ReactAct>[0]) => {

Callers 4

index.tsFile · 0.90
wrapAsyncFunction · 0.90
act.test.tsxFile · 0.90
withGlobalActEnvironmentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…