message: chore: Add tests for ingest dsn
diff: @@ -2,6 +2,7 @@ import { Dsn } from '@sentry/utils';
  import { API } from '../../src/api';
  +const ingestDsn = 'https://abc@xxxx.ingest.sentry.io:1234/subpath/123';
  const dsnPublic = 'https://abc@sentry.io:1234/subpath/123';
  const legacyDsn = 'https://abc:123@sentry.io:1234/subpath/123';
  @@ -11,6 +12,7 @@ describe('API', () => {
  'https://sentry.io:1234/subpath/api/123/store/?sentry_key=abc&sentry_version=7',
  );
  expect(new API(dsnPublic).getStoreEndpoint()).toEqual('https://sentry.io:1234/subpath/api/123/store/');
  + expect(new API(ingestDsn).getStoreEndpoint()).toEqual('https://xxxx.ingest.sentry.io:1234/subpath/api/123/store/');
  });
  test('getRequestHeaders', () => {
  @@ -28,6 +30,10 @@ describe('API', () => {
  });
  test('getReportDialogEndpoint', () => {
  + expect(new API(ingestDsn).getReportDialogEndpoint({})).toEqual(
  + 'https://xxxx.ingest.sentry.io:1234/subpath/api/embed/error-page/?dsn=https://abc@xxxx.ingest.sentry.io:1234/subpath/123',
  + );
  +
  expect(new API(dsnPublic).getReportDialogEndpoint({})).toEqual(
  'https://sentry.io:1234/subpath/api/embed/error-page/?dsn=https://abc@sentry.io:1234/subpath/123',
  );
  