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

Function init

packages/node/src/sdk/index.ts:64–66  ·  view source on GitHub ↗
(options: NodeOptions | undefined = {})

Source from the content-addressed store, hash-verified

62 * Initialize Sentry for Node.
63 */
64export function init(options: NodeOptions | undefined = {}): NodeClient | undefined {
65 return _init(options, getDefaultIntegrations);
66}
67
68/**
69 * Internal initialization function.

Callers 3

mockSdkInitFunction · 0.90
init.test.tsFile · 0.90
init.tsFile · 0.90

Calls 1

_initFunction · 0.70

Tested by

no test coverage detected