()
| 25300 | } |
| 25301 | } |
| 25302 | function isConcurrentActEnvironment() { |
| 25303 | { |
| 25304 | var isReactActEnvironmentGlobal = // $FlowExpectedError – Flow doesn't know about IS_REACT_ACT_ENVIRONMENT global |
| 25305 | typeof IS_REACT_ACT_ENVIRONMENT !== 'undefined' ? IS_REACT_ACT_ENVIRONMENT : undefined; |
| 25306 | |
| 25307 | if (!isReactActEnvironmentGlobal && ReactCurrentActQueue.current !== null) { |
| 25308 | // TODO: Include link to relevant documentation page. |
| 25309 | error('The current testing environment is not configured to support ' + 'act(...)'); |
| 25310 | } |
| 25311 | |
| 25312 | return isReactActEnvironmentGlobal; |
| 25313 | } |
| 25314 | } |
| 25315 | |
| 25316 | var ceil = Math.ceil; |
| 25317 | var ReactCurrentDispatcher$2 = ReactSharedInternals.ReactCurrentDispatcher, |
no test coverage detected
searching dependent graphs…