We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe8e5d commit 7296a58Copy full SHA for 7296a58
packages/supabase_flutter/test/supabase_flutter_test.dart
@@ -145,7 +145,8 @@ void main() {
145
// Wait for the initial app link to be handled, as this is an async
146
// process when mocking the event channel.
147
if (mockEventChannel) {
148
- await AppLinks().uriLinkStream.first;
+ await AppLinks().getLatestLink();
149
+ await Future.delayed(const Duration(milliseconds: 500));
150
}
151
expect(pkceHttpClient.requestCount, 1);
152
expect(pkceHttpClient.lastRequestBody['auth_code'], 'my-code-verifier');
0 commit comments