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

File patch-layer.test.ts

packages/core/test/lib/integrations/express/patch-layer.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, beforeEach, it, expect, vi } from 'vitest';
2import { type ExpressPatchLayerOptions, patchLayer } from '../../../../src/integrations/express/patch-layer';
3import {
4 type ExpressRequest,

Callers

nothing calls this directly

Calls 10

patchLayerFunction · 0.90
markFunctionWrappedFunction · 0.90
getOriginalFunctionFunction · 0.90
storeLayerFunction · 0.90
getStoredLayersFunction · 0.90
checkSpansFunction · 0.85
assignMethod · 0.80
getIsolationScopeMethod · 0.80
handleMethod · 0.65
emitMethod · 0.65

Tested by

no test coverage detected