(root)
| 27648 | } |
| 27649 | |
| 27650 | function warnIfSuspenseResolutionNotWrappedWithActDEV(root) { |
| 27651 | { |
| 27652 | if (root.tag !== LegacyRoot && isConcurrentActEnvironment() && ReactCurrentActQueue$1.current === null) { |
| 27653 | error('A suspended resource finished loading inside a test, but the event ' + 'was not wrapped in act(...).\n\n' + 'When testing, code that resolves suspended data should be wrapped ' + 'into act(...):\n\n' + 'act(() => {\n' + ' /* finish loading suspended data */\n' + '});\n' + '/* assert on the output */\n\n' + "This ensures that you're testing the behavior the user would see " + 'in the browser.' + ' Learn more at https://reactjs.org/link/wrap-tests-with-act'); |
| 27654 | } |
| 27655 | } |
| 27656 | } |
| 27657 | |
| 27658 | function setIsRunningInsertionEffect(isRunning) { |
| 27659 | { |
no test coverage detected
searching dependent graphs…