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 2
2
< head >
3
3
< meta charset ="utf-8 " />
4
4
< 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 " />
6
6
</ head >
7
7
</ html >
Original file line number Diff line number Diff line change @@ -21,8 +21,6 @@ sentryTest(
21
21
} ,
22
22
) ;
23
23
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
26
24
sentryTest (
27
25
'should pick up `baggage` <meta> tag and propagate the content in transaction' ,
28
26
async ( { getLocalTestPath, page } ) => {
@@ -31,7 +29,11 @@ sentryTest(
31
29
const envHeader = await getFirstSentryEnvelopeRequest < EventEnvelopeHeaders > ( page , url , envelopeHeaderRequestParser ) ;
32
30
33
31
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
+ } ) ;
35
37
} ,
36
38
) ;
37
39
You can’t perform that action at this time.
0 commit comments