view data fixes

This commit is contained in:
2026-01-24 12:44:57 +01:00
parent 046852703f
commit 6749fe326b
47 changed files with 94 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
import { describe, it, expect } from 'vitest';
import { ApiClient, api } from './ApiClient';
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();
});
});