Skip to content

Commit

Permalink
stop autorefresh timer within widget test
Browse files Browse the repository at this point in the history
  • Loading branch information
dshukertjr committed Apr 2, 2024
1 parent 23aa612 commit fe5c2ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/supabase_flutter/test/widget_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ void main() {
pkceAsyncStorage: MockAsyncStorage(),
),
);
Supabase.instance.client.auth.stopAutoRefresh();
await tester.pumpWidget(const MaterialApp(home: MockWidget()));
await tester.tap(find.text('Sign out'));
await tester.pumpAndSettle();
Expand Down

0 comments on commit fe5c2ee

Please sign in to comment.