Important Fixes, New mechanics, and many more
Some checks failed
CI / validate (push) Failing after 9m21s

This commit is contained in:
2026-08-15 17:37:57 +05:00
parent 1774496cf9
commit 438e5af0ad
56 changed files with 5090 additions and 119 deletions

View File

@@ -9,4 +9,12 @@ describe('required Supabase runtime config', () => {
it('reports missing credentials clearly', () => {
expect(() => assertRequiredSupabaseConfig({ public: {} })).toThrow('SUPABASE_SERVICE_ROLE_KEY is required')
})
it('rejects credentials from different Supabase projects', () => {
expect(() => assertRequiredSupabaseConfig({
supabaseUrl: 'https://server-project.supabase.co',
supabaseServiceRoleKey: 'service',
public: { supabaseUrl: 'https://public-project.supabase.co', supabaseAnonKey: 'anon' },
})).toThrow('must point to the same project')
})
})