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

File weakRef.test.ts

packages/core/test/lib/utils/weakRef.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it, vi } from 'vitest';
2import { derefWeakRef, makeWeakRef, type MaybeWeakRef } from '../../../src/utils/weakRef';
3
4describe('Unit | util | weakRef', () => {

Callers

nothing calls this directly

Calls 4

makeWeakRefFunction · 0.90
derefWeakRefFunction · 0.90
getValueMethod · 0.80
derefMethod · 0.65

Tested by

no test coverage detected