Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Feb 13, 2025
1 parent 6cee992 commit 4f841f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dart/test/sentry_traces_sampler_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,11 @@ void main() {
'op',
);
final context = SentrySamplingContext(trContext, {});
final samplingDecision = sut.sample(context);

expect(sut.sample(context).sampled, false);
expect(samplingDecision.sampleRate, isNull);
expect(samplingDecision.sampleRand, isNull);
expect(samplingDecision.sampled, false);
});

test('tracesSampler exception is handled', () {
Expand Down

0 comments on commit 4f841f1

Please sign in to comment.