From 324b747b779a68797217cb881c97db04a221da32 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Fri, 2 Aug 2024 12:17:53 +0200 Subject: [PATCH] adjust test --- packages/core/src/utils/traceData.ts | 2 +- packages/core/test/lib/utils/traceData.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/src/utils/traceData.ts b/packages/core/src/utils/traceData.ts index e88079c813f6..51352872c403 100644 --- a/packages/core/src/utils/traceData.ts +++ b/packages/core/src/utils/traceData.ts @@ -55,7 +55,7 @@ export function getTraceData( const validBaggage = isValidBaggageString(baggage); if (!validBaggage) { - logger.warn('Invalid baggage data. Not returning "baggage" meta tag'); + logger.warn('Invalid baggage data. Not returning "baggage" value'); } return { diff --git a/packages/core/test/lib/utils/traceData.test.ts b/packages/core/test/lib/utils/traceData.test.ts index 05324fbde84d..2e924ac60ec9 100644 --- a/packages/core/test/lib/utils/traceData.test.ts +++ b/packages/core/test/lib/utils/traceData.test.ts @@ -20,7 +20,7 @@ const mockedScope = { } as any; describe('getTraceData', () => { - it('returns the tracing meta tags from the span, if it is provided', () => { + it('returns the tracing data from the span, if a span is available', () => { { jest.spyOn(SentryCoreTracing, 'getDynamicSamplingContextFromSpan').mockReturnValueOnce({ environment: 'production', @@ -59,7 +59,7 @@ describe('getTraceData', () => { }); }); - it('returns only the `sentry-trace` tag if no DSC is available', () => { + it('returns only the `sentry-trace` value if no DSC is available', () => { jest.spyOn(SentryCoreTracing, 'getDynamicSamplingContextFromClient').mockReturnValueOnce({ trace_id: '', public_key: undefined,