Skip to content

Commit

Permalink
adjust test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lms24 committed Aug 2, 2024
1 parent 63926bf commit 324b747
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/utils/traceData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/test/lib/utils/traceData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 324b747

Please sign in to comment.