()
| 2 | import { getCurrentScope, getGlobalScope, getIsolationScope } from '@sentry/core'; |
| 3 | |
| 4 | function resetGlobals(): void { |
| 5 | getCurrentScope().clear(); |
| 6 | getCurrentScope().setClient(undefined); |
| 7 | getIsolationScope().clear(); |
| 8 | getGlobalScope().clear(); |
| 9 | } |
| 10 | |
| 11 | function cleanupOtel(): void { |
| 12 | // Disable all globally registered APIs |
no test coverage detected