MCPcopy Create free account
hub / github.com/getsentry/sentry-react-native / getMockSession

Function getMockSession

packages/core/test/testutils.ts:20–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18export const envelopeItemPayload = 1;
19
20export const getMockSession = (): Session => ({
21 sid: 'sid_test_value',
22 init: true,
23 timestamp: -1,
24 started: -1,
25 status: 'ok',
26 errors: -1,
27 ignoreDuration: false,
28 release: 'release_test_value',
29 toJSON: () => ({
30 init: true,
31 sid: 'sid_test_value',
32 timestamp: 'timestamp_test_value',
33 started: 'started_test_value',
34 status: 'ok',
35 errors: -1,
36 }),
37});
38
39export const getMockUserFeedback = (): UserFeedback => ({
40 comments: 'comments_test_value',

Callers 1

client.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected