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

Function getSdkInfoFrom

packages/core/test/client.test.ts:416–416  ·  view source on GitHub ↗
(func: jest.Mock)

Source from the content-addressed store, hash-verified

414
415 const expectedSdkInfo = { name: SDK_NAME, version: SDK_VERSION };
416 const getSdkInfoFrom = (func: jest.Mock) => func.mock.calls[0][firstArg][envelopeHeader].sdk;
417
418 test('send SdkInfo in the message envelope header', () => {
419 client.captureMessage('message_test_value');

Callers 1

client.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected