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

File ensureIsWrapped.test.ts

packages/node-core/test/utils/ensureIsWrapped.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, it, vi } from 'vitest';
2import { ensureIsWrapped } from '../../src/utils/ensureIsWrapped';
3import { cleanupOtel, mockSdkInit, resetGlobals } from '../helpers/mockSdkInit';
4import { markFunctionWrapped } from '@sentry/core';

Callers

nothing calls this directly

Calls 6

cleanupOtelFunction · 0.90
resetGlobalsFunction · 0.90
mockSdkInitFunction · 0.90
ensureIsWrappedFunction · 0.90
markFunctionWrappedFunction · 0.90
assignMethod · 0.80

Tested by

no test coverage detected