- Extract club information (clubId, clubName) from event page in `getEventInfo`. - Update `getMatchDetail` to return both `detail` and `summary`. - Introduce `MatchSummary` interface in `src/types/index.ts`. - Update `EventPage` to display the club name and link to the club page. - Adjust `EventSubscribeService` and loaders to handle the new return structure. - Clean up test files and mock data loading logic.
8 lines
268 B
TypeScript
8 lines
268 B
TypeScript
import { test, expect } from 'bun:test';
|
|
import { KaiqiuService } from '../src/services/KaiqiuService';
|
|
|
|
test('login success', async () => {
|
|
const { ...result } = await KaiqiuService.login('', '');
|
|
console.debug(result);
|
|
expect(result.cookies).toBeDefined();
|
|
}); |