Skip to content

Commit 324b747

Browse files
committed
adjust test
1 parent 63926bf commit 324b747

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/src/utils/traceData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export function getTraceData(
5555

5656
const validBaggage = isValidBaggageString(baggage);
5757
if (!validBaggage) {
58-
logger.warn('Invalid baggage data. Not returning "baggage" meta tag');
58+
logger.warn('Invalid baggage data. Not returning "baggage" value');
5959
}
6060

6161
return {

packages/core/test/lib/utils/traceData.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const mockedScope = {
2020
} as any;
2121

2222
describe('getTraceData', () => {
23-
it('returns the tracing meta tags from the span, if it is provided', () => {
23+
it('returns the tracing data from the span, if a span is available', () => {
2424
{
2525
jest.spyOn(SentryCoreTracing, 'getDynamicSamplingContextFromSpan').mockReturnValueOnce({
2626
environment: 'production',
@@ -59,7 +59,7 @@ describe('getTraceData', () => {
5959
});
6060
});
6161

62-
it('returns only the `sentry-trace` tag if no DSC is available', () => {
62+
it('returns only the `sentry-trace` value if no DSC is available', () => {
6363
jest.spyOn(SentryCoreTracing, 'getDynamicSamplingContextFromClient').mockReturnValueOnce({
6464
trace_id: '',
6565
public_key: undefined,

0 commit comments

Comments
 (0)