(prevActQueue, prevActScopeDepth)
| 1406 | : errors[0]; |
| 1407 | } |
| 1408 | function popActScope(prevActQueue, prevActScopeDepth) { |
| 1409 | prevActScopeDepth !== actScopeDepth - 1 && |
| 1410 | console.error( |
| 1411 | "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. " |
| 1412 | ); |
| 1413 | actScopeDepth = prevActScopeDepth; |
| 1414 | } |
| 1415 | function recursivelyFlushAsyncActWork(returnValue, resolve, reject) { |
| 1416 | var queue = ReactSharedInternals.actQueue; |
| 1417 | if (null !== queue) |
no outgoing calls
no test coverage detected
searching dependent graphs…