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

File wrapMiddlewareHandler.test.ts

packages/nuxt/test/runtime/hooks/wrapMiddlewareHandler.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as SentryCore from '@sentry/core';
2import type { EventHandler, EventHandlerRequest, H3Event } from 'h3';
3import { beforeEach, describe, expect, it, vi } from 'vitest';
4import { wrapMiddlewareHandlerWithSentry } from '../../../src/runtime/hooks/wrapMiddlewareHandler';

Callers

nothing calls this directly

Calls 4

handlerMethod · 0.80
callbackFunction · 0.50
wrappedFunction · 0.50

Tested by

no test coverage detected