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

File transport.test.ts

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

Source from the content-addressed store, hash-verified

1import type { EventEnvelope, EventItem } from '@sentry/core';
2import { createEnvelope, SENTRY_BUFFER_FULL_ERROR, serializeEnvelope } from '@sentry/core';
3import { afterAll, describe, expect, it, vi } from 'vitest';
4import type { CloudflareTransportOptions } from '../src/transport';

Callers

nothing calls this directly

Calls 9

createEnvelopeFunction · 0.90
makeCloudflareTransportFunction · 0.90
serializeEnvelopeFunction · 0.90
rejectMethod · 0.80
resolveMethod · 0.65
sendMethod · 0.65
flushMethod · 0.65
addMethod · 0.65
drainMethod · 0.65

Tested by

no test coverage detected