MCPcopy
hub / github.com/testing-library/react-testing-library / getIsReactActEnvironment

Function getIsReactActEnvironment

src/act-compat.js:32–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30}
31
32function getIsReactActEnvironment() {
33 return getGlobalThis().IS_REACT_ACT_ENVIRONMENT
34}
35
36function withGlobalActEnvironment(actImplementation) {
37 return callback => {

Callers 3

index.jsFile · 0.90
pure.jsFile · 0.90
withGlobalActEnvironmentFunction · 0.85

Calls 1

getGlobalThisFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…