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

File http.test.ts

packages/google-cloud-serverless/test/gcpfunction/http.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { Integration } from '@sentry/core';
2import { SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN, SEMANTIC_ATTRIBUTE_SENTRY_SOURCE } from '@sentry/core';
3import { beforeEach, describe, expect, type MockInstance, test, vi } from 'vitest';
4import type { HttpFunction, Request, Response } from '../../src/gcpfunction/general';

Callers

nothing calls this directly

Calls 7

testFunction · 0.90
wrapHttpFunctionFunction · 0.90
initFunction · 0.90
handleHttpFunction · 0.85
resolveMethod · 0.65
endMethod · 0.65
wrappedHandlerFunction · 0.50

Tested by

no test coverage detected