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

File instrument.test.ts

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

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it } from 'vitest';
2import { getInstrumented, markAsInstrumented } from '../src/instrument';
3
4// Clean up the global WeakMap between tests to avoid cross-test pollution

Callers

nothing calls this directly

Calls 4

markAsInstrumentedFunction · 0.90
getInstrumentedFunction · 0.90
setMethod · 0.65
hasMethod · 0.65

Tested by

no test coverage detected