import { describe, expect, it, vi } from 'vitest';

describe('supabaseClient', () => {
    it('throws when legacy supabase access is used', async () => {
        vi.resetModules();
        const mod = await import('./supabaseClient');
        expect(() => mod.supabase.from('orders')).toThrowError(/no longer supported/i);
    });
});
