Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
denrase committed Nov 19, 2024
1 parent 2532dbf commit 215e1fe
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions dart/test/sentry_envelope_vm_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,12 @@ void main() {
attachments: [attachment],
);

final data =
(await envelope.envelopeStream(defaultTestOptions()).toList())
.reduce((a, b) => a + b);
final options = SentryOptions(dsn: testDsn)
..automatedTestMode =
false; // We want to skip throwing envelope items in this test.

final data = (await envelope.envelopeStream(options).toList())
.reduce((a, b) => a + b);

final file = File('test_resources/envelope-no-attachment.envelope');
final jsonStr = await file.readAsString();
Expand Down

0 comments on commit 215e1fe

Please sign in to comment.