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

File promisebuffer.test.ts

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

Source from the content-addressed store, hash-verified

1import { afterEach, describe, expect, test, vi } from 'vitest';
2import { makePromiseBuffer } from '../../../src/utils/promisebuffer';
3import { rejectedSyncPromise, resolvedSyncPromise } from '../../../src/utils/syncpromise';
4

Callers

nothing calls this directly

Calls 8

testFunction · 0.90
makePromiseBufferFunction · 0.90
resolvedSyncPromiseFunction · 0.90
setTimeoutFunction · 0.85
addMethod · 0.65
drainMethod · 0.65
forEachMethod · 0.65
nowMethod · 0.65

Tested by

no test coverage detected