Any serious project needs unit testing around components using Supabase.
In my particular case, I have a provider that fetches data with Supabase Postgrest client, I haven't been able to mock the calls to return mock data.
Some references I've seen, but nothing really works:
To keep #109 alive, related to #36, https://github.com/supabase/supabase-dart/issues/12.
Any serious project needs unit testing around components using Supabase. In my particular case, I have a provider that fetches data with Supabase Postgrest client, I haven't been able to mock the calls to return mock data.
Some references I've seen, but nothing really works:
An example code to be tested:
I know there are ways to work around this, but I'm looking for a blessed and official way from the Supabase team.