Skip to content

Commit

Permalink
test: use mock storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Oct 30, 2024
1 parent 5322ad8 commit 185ae0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/supabase_flutter/test/supabase_flutter_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ void main() {
url: supabaseUrl,
anonKey: supabaseUrl,
debug: false,
authOptions: FlutterAuthClientOptions(
localStorage: MockLocalStorage(),
pkceAsyncStorage: MockAsyncStorage(),
),
accessToken: () async => 'my-access-token',
);

Expand Down

0 comments on commit 185ae0f

Please sign in to comment.