We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e9c97 commit 417a1f9Copy full SHA for 417a1f9
dev-packages/browser-integration-tests/suites/public-api/startSpan/standalone-mixed-transaction/test.ts
@@ -38,9 +38,16 @@ sentryTest(
38
expect(traceId).toMatch(/[a-f0-9]{32}/);
39
expect(parentSpanId).toMatch(/[a-f0-9]{16}/);
40
41
- // TODO: the span envelope also needs to contain the `trace` header (follow-up PR)
42
expect(spanEnvelopeHeader).toEqual({
43
sent_at: expect.any(String),
+ trace: {
44
+ environment: 'production',
45
+ public_key: 'public',
46
+ sample_rate: '1',
47
+ sampled: 'true',
48
+ trace_id: traceId,
49
+ transaction: 'outer',
50
+ },
51
});
52
53
expect(transactionEnvelopeHeader).toEqual({
0 commit comments