Skip to content

Commit

Permalink
fix failing test expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Oct 14, 2024
1 parent 45a99cb commit be807ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dart/test/sentry_client_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ void main() {
});

test('should capture sentry frames exception', () async {
fixture.options.removeStackFrameExclude('sentry');
fixture.options.addExceptionCauseExtractor(
ExceptionWithCauseExtractor(),
);
Expand Down Expand Up @@ -497,6 +498,8 @@ void main() {
});

test('should capture sentry frames exception', () async {
fixture.options.removeStackFrameExclude('sentry');

try {
throw Exception('Error');
} catch (err) {
Expand Down

0 comments on commit be807ef

Please sign in to comment.