You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(test): fix lifecycle tests timing out on web/JS platform
Two issues fixed:
1. Missing mockAppLink() in setUp — on web, Supabase.initialize() calls
_appLinks.getInitialLink() via a platform channel. Without the mock,
that call hangs forever, timing out the test. Native tests were
unaffected because _handleInitialUri() has a kIsWeb guard.
2. The completeReadyCompleters() helper was async void, so its body ran
as a deferred microtask and cleared the list. Replace with
settleLifecycle() that loops until all lifecycle operations settle.
0 commit comments