Skip to content

Commit 49000fa

Browse files
committed
fix tests
1 parent 741f90c commit 49000fa

File tree

4 files changed

+8
-1
lines changed
  • packages
    • browser-integration-tests/suites
    • node-integration-tests/suites/express/sentry-trace/baggage-header-out

4 files changed

+8
-1
lines changed

packages/browser-integration-tests/suites/replay/dsc/test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ sentryTest(
4949
trace_id: expect.any(String),
5050
public_key: 'public',
5151
replay_id: replay.session?.id,
52+
sampled: 'true',
5253
});
5354
},
5455
);
@@ -93,6 +94,7 @@ sentryTest(
9394
sample_rate: '1',
9495
trace_id: expect.any(String),
9596
public_key: 'public',
97+
sampled: 'true',
9698
});
9799
},
98100
);
@@ -152,6 +154,7 @@ sentryTest(
152154
trace_id: expect.any(String),
153155
public_key: 'public',
154156
replay_id: replay.session?.id,
157+
sampled: 'true',
155158
});
156159
},
157160
);
@@ -199,6 +202,7 @@ sentryTest(
199202
sample_rate: '1',
200203
trace_id: expect.any(String),
201204
public_key: 'public',
205+
sampled: 'true',
202206
});
203207
},
204208
);

packages/browser-integration-tests/suites/tracing/envelope-header-transaction-name/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ sentryTest(
2727
transaction: expect.stringContaining('/index.html'),
2828
trace_id: expect.any(String),
2929
public_key: 'public',
30+
sampled: 'true',
3031
});
3132
},
3233
);

packages/browser-integration-tests/suites/tracing/envelope-header/test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ sentryTest(
3030
sample_rate: '1',
3131
trace_id: expect.any(String),
3232
public_key: 'public',
33+
sampled: 'true',
3334
});
3435
},
3536
);

packages/node-integration-tests/suites/express/sentry-trace/baggage-header-out/test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ test('should attach a `baggage` header to an outgoing request.', async () => {
1414
host: 'somewhere.not.sentry',
1515
baggage:
1616
'sentry-environment=prod,sentry-release=1.0,sentry-user_segment=SegmentA,sentry-public_key=public' +
17-
',sentry-trace_id=86f39e84263a4de99c326acab3bfe3bd,sentry-sample_rate=1,sentry-transaction=GET%20%2Ftest%2Fexpress',
17+
',sentry-trace_id=86f39e84263a4de99c326acab3bfe3bd,sentry-sample_rate=1,sentry-transaction=GET%20%2Ftest%2Fexpress' +
18+
',sentry-sampled=true',
1819
},
1920
});
2021
});

0 commit comments

Comments
 (0)