MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / wrapMiddlewareSpan.test.ts

File wrapMiddlewareSpan.test.ts

packages/hono/test/shared/wrapMiddlewareSpan.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as SentryCore from '@sentry/core';
2import { SPAN_STATUS_ERROR } from '@sentry/core';
3import { type MiddlewareHandler } from 'hono';
4import { beforeEach, describe, expect, it, vi } from 'vitest';

Callers

nothing calls this directly

Calls 4

wrapMiddlewareWithSpanFunction · 0.90
makeContextFunction · 0.85
assignMethod · 0.80
wrappedFunction · 0.50

Tested by

no test coverage detected