8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca540b commit 082d3b0Copy full SHA for 082d3b0
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