()
| 57 | } |
| 58 | |
| 59 | function restoreGlobalFetchPatch(): void { |
| 60 | if (!fetchPatched) { |
| 61 | return |
| 62 | } |
| 63 | |
| 64 | if (originalFetch) { |
| 65 | globalThis.fetch = originalFetch |
| 66 | } |
| 67 | |
| 68 | fetchPatched = false |
| 69 | originalFetch = undefined |
| 70 | } |
| 71 | |
| 72 | function restoreTlsVerificationOverride(): void { |
| 73 | if (!tlsVerificationOverridden) { |
no outgoing calls
no test coverage detected