fix issues

This commit is contained in:
2026-01-01 22:46:59 +01:00
parent 206a03ec48
commit 79913bb45e
336 changed files with 3932 additions and 76 deletions

View File

@@ -0,0 +1,18 @@
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();
});
});