use dotenv::dotenv; use flowy_server::supabase::SupabaseConfiguration; /// In order to run this test, you need to create a .env file in the root directory of this project /// and add the following environment variables: /// - SUPABASE_URL /// - SUPABASE_ANON_KEY /// - SUPABASE_KEY /// - SUPABASE_JWT_SECRET /// /// the .env file should look like this: /// SUPABASE_URL=https://.supabase.co /// SUPABASE_ANON_KEY= /// SUPABASE_KEY= /// SUPABASE_JWT_SECRET= /// pub fn get_supabase_config() -> Option { dotenv().ok()?; SupabaseConfiguration::from_env().ok() }