()
| 3377 | } |
| 3378 | |
| 3379 | function getCurrentFiberStackInDev() { |
| 3380 | { |
| 3381 | if (current === null) { |
| 3382 | return ''; |
| 3383 | } |
| 3384 | // Safe because if current fiber exists, we are reconciling, |
| 3385 | // and it is guaranteed to be the work-in-progress version. |
| 3386 | return getStackByFiberInDevAndProd(current); |
| 3387 | } |
| 3388 | return ''; |
| 3389 | } |
| 3390 | |
| 3391 | function resetCurrentFiber() { |
| 3392 | { |
no test coverage detected