mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 11:25:06 +03:00
Extract the enable/disable-and-route decision out of useFeaturePreviewCommands into a pure resolveFeaturePreviewToggle util, and unit test every permutation: disabling, enabling with a route, enabling outside a project-scoped page, missing ref, and previews without a route.