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

Function getTestClient

packages/core/test/lib/integration.test.ts:16–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14import { getDefaultTestClientOptions, TestClient } from '../mocks/client';
15
16function getTestClient(): TestClient {
17 return new TestClient(
18 getDefaultTestClientOptions({
19 dsn: 'https://username@domain/123',
20 }),
21 );
22}
23
24/** JSDoc */
25class MockIntegration implements Integration {

Callers 1

Calls 1

Tested by

no test coverage detected