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

File request.test.ts

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

Source from the content-addressed store, hash-verified

1// Note: These tests run the handler in Node.js, which has some differences to the cloudflare workers runtime.
2// Although this is not ideal, this is the best we can do until we have a better way to test cloudflare workers.
3
4import type { ExecutionContext } from '@cloudflare/workers-types';

Callers

nothing calls this directly

Calls 15

testFunction · 0.90
wrapRequestHandlerFunction · 0.90
setTimeoutFunction · 0.85
pushMethod · 0.80
captureMessageMethod · 0.80
getReaderMethod · 0.80
addDelayedWaitUntilFunction · 0.70
textMethod · 0.65
setMethod · 0.65
readMethod · 0.65

Tested by

no test coverage detected