MCPcopy Index your code
hub / github.com/getsentry/sentry / ProjectKeysFixture

Function ProjectKeysFixture

tests/js/fixtures/projectKeys.ts:3–53  ·  view source on GitHub ↗
(params: ProjectKey[] = [])

Source from the content-addressed store, hash-verified

1import type {ProjectKey} from 'sentry/types/project';
2
3export function ProjectKeysFixture(params: ProjectKey[] = []): ProjectKey[] {
4 return [
5 {
6 dsn: {
7 unreal: '',
8 crons: '',
9 secret:
10 'http://188ee45a58094d939428d8585aa6f661:a33bf9aba64c4bbdaf873bb9023b6d2d@dev.getsentry.net:8000/1',
11 minidump:
12 'http://dev.getsentry.net:8000/api/1/minidump?sentry_key=188ee45a58094d939428d8585aa6f661',
13 public: 'http://188ee45a58094d939428d8585aa6f661@dev.getsentry.net:8000/1',
14 cdn: 'http://dev.getsentry.net:800/js-sdk-loader/188ee45a58094d939428d8585aa6f661.min.js',
15 csp: 'http://dev.getsentry.net:8000/api/1/csp-report/?sentry_key=188ee45a58094d939428d8585aa6f661',
16 security:
17 'http://dev.getsentry.net:8000/api/1/security-report/?sentry_key=188ee45a58094d939428d8585aa6f661',
18 playstation:
19 'http://dev.getsentry.net:8000/api/1/playstation/?sentry_key=188ee45a58094d939428d8585aa6f661',
20 integration: 'http://dev.getsentry.net:8000/api/1/integration/',
21 otlp_traces: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/traces',
22 otlp_logs: 'http://dev.getsentry.net:8000/api/1/integration/otlp/v1/logs',
23 },
24 public: '188ee45a58094d939428d8585aa6f661',
25 secret: 'a33bf9aba64c4bbdaf873bb9023b6d2d',
26 name: 'Natural Halibut',
27 rateLimit: null,
28 projectId: 1,
29 dateCreated: '2018-02-28T07:13:51.087Z',
30 id: '188ee45a58094d939428d8585aa6f661',
31 isActive: true,
32 label: 'Natural Halibut',
33 browserSdkVersion: 'latest',
34 browserSdk: {
35 choices: [
36 ['latest', 'latest'],
37 ['7.x', '7.x'],
38 ['6.x', '6.x'],
39 ['5.x', '5.x'],
40 ['4.x', '4.x'],
41 ],
42 },
43 dynamicSdkLoaderOptions: {
44 hasDebug: false,
45 hasFeedback: false,
46 hasPerformance: false,
47 hasReplay: false,
48 hasLogsAndMetrics: false,
49 },
50 },
51 ...params,
52 ];
53}

Callers 15

renderMockRequestsFunction · 0.90
renderMockRequestsFunction · 0.90
renderMockRequestsFunction · 0.90
setupDocs.spec.tsxFile · 0.90
renderSetupDocsFunction · 0.90
content.spec.tsxFile · 0.90
mockProjectApiResponsesFunction · 0.90
mockProjectApiResponsesFunction · 0.90

Calls

no outgoing calls

Tested by 8

renderMockRequestsFunction · 0.72
renderMockRequestsFunction · 0.72
renderMockRequestsFunction · 0.72
renderSetupDocsFunction · 0.72
mockProjectApiResponsesFunction · 0.72
mockProjectApiResponsesFunction · 0.72
setupMocksFunction · 0.72
renderMockRequestsFunction · 0.72