MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / clearGlobalScope

Function clearGlobalScope

packages/core/test/testutils.ts:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18};
19
20export function clearGlobalScope() {
21 const carrier = getSentryCarrier(GLOBAL_OBJ);
22 carrier.globalScope = undefined;
23}

Callers 3

scope.test.tsFile · 0.90
client.test.tsFile · 0.90

Calls 1

getSentryCarrierFunction · 0.90

Tested by

no test coverage detected