Skip to content

Commit

Permalink
fix test for beta
Browse files Browse the repository at this point in the history
  • Loading branch information
buenaflor committed Oct 15, 2024
1 parent f2bc034 commit d928773
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dart/test/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,13 @@ Future testCaptureException(
'sentry_browser_test.dart.browser_test.dart.js',
'sentry_browser_test.dart.browser_test.dart.wasm'
]));
expect(topFrame['function'],
anyOf(['Object.wrapException', 'testCaptureException']));
expect(
topFrame['function'],
anyOf([
'Object.wrapException',
'testCaptureException',
'module0.testCaptureException'
]));

expect(data['event_id'], sentryId.toString());
expect(data['timestamp'], '2017-01-02T00:00:00.000Z');
Expand Down

0 comments on commit d928773

Please sign in to comment.