mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 04:30:48 +00:00
fi: import type errors
This commit is contained in:
parent
f3cf732493
commit
e9b423b43a
29 changed files with 289 additions and 282 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue