(fiber)
| 6794 | }; |
| 6795 | |
| 6796 | var shouldIgnoreFiber = function (fiber) { |
| 6797 | // Host components should be skipped in the timeline. |
| 6798 | // We could check typeof fiber.type, but does this work with RN? |
| 6799 | switch (fiber.tag) { |
| 6800 | case HostRoot: |
| 6801 | case HostComponent: |
| 6802 | case HostText: |
| 6803 | case HostPortal: |
| 6804 | case CallComponent: |
| 6805 | case ReturnComponent: |
| 6806 | case Fragment: |
| 6807 | case ContextProvider: |
| 6808 | case ContextConsumer: |
| 6809 | return true; |
| 6810 | default: |
| 6811 | return false; |
| 6812 | } |
| 6813 | }; |
| 6814 | |
| 6815 | var clearPendingPhaseMeasurement = function () { |
| 6816 | if (currentPhase !== null && currentPhaseFiber !== null) { |
no outgoing calls
no test coverage detected