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

File wrapMethodWithSentry.test.ts

packages/cloudflare/test/wrapMethodWithSentry.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import * as sentryCore from '@sentry/core';
2import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';
3import { getInstrumented } from '../src/instrument';
4import * as sdk from '../src/sdk';

Callers

nothing calls this directly

Calls 11

wrapMethodWithSentryFunction · 0.90
getInstrumentedFunction · 0.90
pushMethod · 0.80
callMethod · 0.80
setClientMethod · 0.80
createMockClientFunction · 0.70
createMockScopeFunction · 0.70
createMockSpanFunction · 0.70
createMockContextFunction · 0.70
callbackFunction · 0.50
wrappedFunction · 0.50

Tested by

no test coverage detected