File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
packages/integration-tests/suites/tracing/browsertracing/meta Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 22 < head >
33 < meta charset ="utf-8 " />
44 < meta name ="sentry-trace " content ="12312012123120121231201212312012-1121201211212012-1 " />
5- < meta name ="baggage " content ="sentry-version =2.1.12 " />
5+ < meta name ="baggage " content ="sentry-release =2.1.12 " />
66 </ head >
77</ html >
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ sentryTest(
2121 } ,
2222) ;
2323
24- // TODO this we can't really test until we actually propagate sentry- entries in baggage
25- // skipping for now but this must be adjusted later on
2624sentryTest (
2725 'should pick up `baggage` <meta> tag and propagate the content in transaction' ,
2826 async ( { getLocalTestPath, page } ) => {
@@ -31,7 +29,11 @@ sentryTest(
3129 const envHeader = await getFirstSentryEnvelopeRequest < EventEnvelopeHeaders > ( page , url , envelopeHeaderRequestParser ) ;
3230
3331 expect ( envHeader . trace ) . toBeDefined ( ) ;
34- expect ( envHeader . trace ) . toEqual ( '{version:2.1.12}' ) ;
32+ expect ( envHeader . trace ) . toMatchObject ( {
33+ public_key : 'public' ,
34+ trace_id : expect . any ( String ) ,
35+ release : '2.1.12' ,
36+ } ) ;
3537 } ,
3638) ;
3739
You can’t perform that action at this time.
0 commit comments