(reason: 'mount' | 'visibility')
| 143 | ...cancelPendingRefreshSources, |
| 144 | ].filter(Boolean))); |
| 145 | const cancelAutomaticRefresh = (reason: 'mount' | 'visibility') => { |
| 146 | for (const source of sourcesToCancel) { |
| 147 | gitStateManager.cancelPendingRefresh(normalizedPath, { |
| 148 | layers: layersToRefresh, |
| 149 | reason, |
| 150 | source, |
| 151 | }); |
| 152 | } |
| 153 | }; |
| 154 | |
| 155 | cancelAutomaticRefresh('mount'); |
| 156 | cancelAutomaticRefresh('visibility'); |
no test coverage detected