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

File client-patch.test.ts

packages/core/test/lib/integrations/http/client-patch.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, it, vi } from 'vitest';
2import { HTTP_ON_CLIENT_REQUEST } from '../../../../src/integrations/http/constants';
3import { patchHttpModuleClient } from '../../../../src/integrations/http/client-patch';
4import type { HttpClientRequest, HttpExport } from '../../../../src/integrations/http/types';

Callers

nothing calls this directly

Calls 6

patchHttpModuleClientFunction · 0.90
getOriginalFunctionFunction · 0.90
makeMockHttpModuleFunction · 0.85
makeMockClientRequestFunction · 0.85
requestMethod · 0.80
getMethod · 0.65

Tested by

no test coverage detected