Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix test
  • Loading branch information
ua741 committed Sep 28, 2022
commit bd6984854bf42ce69d4cfa4095d4f77bf30acb8b
4 changes: 1 addition & 3 deletions dio/test/mocks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -128,12 +128,10 @@ class FunctionEventProcessor extends EventProcessor {
typedef EventProcessorFunction = FutureOr<SentryEvent?>
Function(SentryEvent event, {dynamic hint});

final fakeDsn = 'https://[email protected]/1234567';

var fakeEnvelope = SentryEnvelope.fromEvent(
fakeEvent,
SdkVersion(name: 'sdk1', version: '1.0.0'),
fakeDsn,
dsn: fakeDsn,
);

class MockRateLimiter implements RateLimiter {
Expand Down