MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / _getSentryInitConfig

Function _getSentryInitConfig

packages/ember/addon/index.ts:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17import type { EmberSentryConfig, GlobalConfig, OwnConfig } from './types';
18
19function _getSentryInitConfig(): EmberSentryConfig['sentry'] {
20 const _global = GLOBAL_OBJ as typeof GLOBAL_OBJ & GlobalConfig;
21 _global.__sentryEmberConfig = _global.__sentryEmberConfig ?? {};
22 return _global.__sentryEmberConfig;
23}
24
25/**
26 * Initialize the Sentry SDK for Ember.

Callers 1

initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected