MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / findIntegrationByName

Function findIntegrationByName

packages/nextjs/test/edgeSdk.test.ts:13–15  ·  view source on GitHub ↗
(integrations: Integration[] = [], name: string)

Source from the content-addressed store, hash-verified

11const vercelEdgeInit = vi.spyOn(SentryVercelEdge, 'init');
12
13function findIntegrationByName(integrations: Integration[] = [], name: string): Integration | undefined {
14 return integrations.find(integration => integration.name === name);
15}
16
17describe('Edge init()', () => {
18 beforeEach(() => {

Callers 1

edgeSdk.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected