import { describe, it, expect } from 'vitest'; import { ApiClient, api } from './index'; describe('ApiClient', () => { it('should be defined', () => { expect(ApiClient).toBeDefined(); }); it('should create instance', () => { const client = new ApiClient('http://test.com'); expect(client).toBeDefined(); expect(client.leagues).toBeDefined(); }); it('should have singleton instance', () => { expect(api).toBeDefined(); }); });