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

Function fn

packages/deno/test/deno-http.test.ts:75–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 name: 'denoHttpIntegration: included in default integrations on Deno >= 2.7.13',
74 ignore: !HTTP_CLIENT_DIAGNOSTICS_CHANNEL_SUPPORTED,
75 fn() {
76 resetGlobals();
77 const client = init({ dsn: 'https://username@domain/123' }) as DenoClient;
78 const names = client.getOptions().integrations.map(i => i.name);
79 assert(
80 names.includes('DenoHttp'),
81 `DenoHttp should be a default integration on Deno ${DENO_VERSION.major}.${DENO_VERSION.minor}.${DENO_VERSION.patch}, got ${names.join(', ')}`,
82 );
83 },
84});
85
86Deno.test({

Callers 15

errors.test.tsFile · 0.50
handleEventFunction · 0.50
handleHttpFunction · 0.50
handleCloudEventFunction · 0.50
domainifyFunction · 0.50
_wrapHttpFunctionFunction · 0.50
withElysiaFunction · 0.50
runWithGuardedClockFunction · 0.50
thenMethod · 0.50
handleCallbackErrorsFunction · 0.50

Calls 14

abortMethod · 0.95
initFunction · 0.90
startSpanFunction · 0.90
requestMethod · 0.80
resetGlobalsFunction · 0.70
transactionSinkFunction · 0.70
withTimeoutFunction · 0.70
getOptionsMethod · 0.65
endMethod · 0.65
textMethod · 0.65
closeMethod · 0.65
onMethod · 0.65

Tested by

no test coverage detected