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

File syncpromise.test.ts

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

Source from the content-addressed store, hash-verified

1import { describe, expect, test, vi } from 'vitest';
2import { rejectedSyncPromise, resolvedSyncPromise, SyncPromise } from '../../../src/utils/syncpromise';
3
4describe('SyncPromise', () => {

Callers

nothing calls this directly

Calls 9

testFunction · 0.90
resolvedSyncPromiseFunction · 0.90
rejectedSyncPromiseFunction · 0.90
fpFunction · 0.85
fFunction · 0.85
setTimeoutFunction · 0.85
resolveMethod · 0.65
resolveFunction · 0.50
thenMethod · 0.45

Tested by

no test coverage detected