fi: import type errors

This commit is contained in:
mingholy.lmh 2025-09-15 14:26:01 +08:00
parent f3cf732493
commit e9b423b43a
29 changed files with 289 additions and 282 deletions

View file

@ -11,6 +11,7 @@ import { ToolMessage } from './ToolMessage.js';
import { StreamingState, ToolCallStatus } from '../../types.js';
import { Text } from 'ink';
import { StreamingContext } from '../../contexts/StreamingContext.js';
import type { Config } from '@qwen-code/qwen-code-core';
// Mock child components or utilities if they are complex or have side effects
vi.mock('../GeminiRespondingSpinner.js', () => ({
@ -68,7 +69,7 @@ const renderWithContext = (
};
describe('<ToolMessage />', () => {
const mockConfig = {} as any; // Mock config for tests
const mockConfig = {} as Config;
const baseProps: ToolMessageProps = {
callId: 'tool-123',