mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-30 12:40:44 +00:00
Explict imports & exports with type modifier (#3774)
This commit is contained in:
parent
71c090c696
commit
0f031a7f89
332 changed files with 1086 additions and 1105 deletions
|
|
@ -4,7 +4,8 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { vi, describe, it, expect, beforeEach, Mock } from 'vitest';
|
||||
import type { Mock } from 'vitest';
|
||||
import { vi, describe, it, expect, beforeEach } from 'vitest';
|
||||
import { clearCommand } from './clearCommand.js';
|
||||
import { type CommandContext } from './types.js';
|
||||
import { createMockCommandContext } from '../../test-utils/mockCommandContext.js';
|
||||
|
|
@ -20,7 +21,8 @@ vi.mock('@google/gemini-cli-core', async () => {
|
|||
};
|
||||
});
|
||||
|
||||
import { GeminiClient, uiTelemetryService } from '@google/gemini-cli-core';
|
||||
import type { GeminiClient } from '@google/gemini-cli-core';
|
||||
import { uiTelemetryService } from '@google/gemini-cli-core';
|
||||
|
||||
describe('clearCommand', () => {
|
||||
let mockContext: CommandContext;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue