MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / middleware.test.ts

File middleware.test.ts

packages/astro/test/server/middleware.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Client, Span } from '@sentry/core';
2import { SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';
3import * as SentryCore from '@sentry/core';
4import * as SentryNode from '@sentry/node';

Callers

nothing calls this directly

Calls 12

handleRequestFunction · 0.90
setUserMethod · 0.80
getScopeDataMethod · 0.80
getIsolationScopeMethod · 0.80
resolveMethod · 0.65
errorMethod · 0.65
closeMethod · 0.65
getMethod · 0.65
textMethod · 0.65
middlewareFunction · 0.50
handlerFunction · 0.50

Tested by

no test coverage detected