MCPcopy Create free account
hub / github.com/getsentry/sentry-javascript / dsn.test.ts

File dsn.test.ts

packages/core/test/lib/utils/dsn.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { beforeEach, describe, expect, it, test, vi } from 'vitest';
2import { debug } from '../../../src/utils/debug-logger';
3import { dsnToString, extractOrgIdFromClient, extractOrgIdFromDsnHost, makeDsn } from '../../../src/utils/dsn';
4import { getDefaultTestClientOptions, TestClient } from '../../mocks/client';

Callers

nothing calls this directly

Calls 6

testFunction · 0.90
makeDsnFunction · 0.90
dsnToStringFunction · 0.90
extractOrgIdFromDsnHostFunction · 0.90
extractOrgIdFromClientFunction · 0.90

Tested by

no test coverage detected