Skip to content

Commit 185ae0f

Browse files
committed
test: use mock storage
1 parent 5322ad8 commit 185ae0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/supabase_flutter/test/supabase_flutter_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ void main() {
5353
url: supabaseUrl,
5454
anonKey: supabaseUrl,
5555
debug: false,
56+
authOptions: FlutterAuthClientOptions(
57+
localStorage: MockLocalStorage(),
58+
pkceAsyncStorage: MockAsyncStorage(),
59+
),
5660
accessToken: () async => 'my-access-token',
5761
);
5862

0 commit comments

Comments
 (0)