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

Function getDefaultNodeClientOptions

packages/sveltekit/test/utils.ts:4–12  ·  view source on GitHub ↗
(options: Partial<ClientOptions> = {})

Source from the content-addressed store, hash-verified

2import { createTransport, resolvedSyncPromise } from '@sentry/core';
3
4export function getDefaultNodeClientOptions(options: Partial<ClientOptions> = {}): ClientOptions {
5 return {
6 dsn: 'http://examplePublicKey@localhost/0',
7 integrations: [],
8 transport: () => createTransport({ recordDroppedEvent: () => undefined }, _ => resolvedSyncPromise({})),
9 stackParser: () => [],
10 ...options,
11 };
12}

Callers 2

handle.test.tsFile · 0.90
load.test.tsFile · 0.90

Calls 2

createTransportFunction · 0.90
resolvedSyncPromiseFunction · 0.90

Tested by

no test coverage detected