mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-25 04:24:51 -07:00
feat(core,cli): enforce mandatory MessageBus injection (Phase 3 Hard Migration) (#15776)
This commit is contained in:
@@ -9,13 +9,14 @@ import { GetInternalDocsTool } from './get-internal-docs.js';
|
||||
import { ToolErrorType } from './tool-error.js';
|
||||
import fs from 'node:fs/promises';
|
||||
import path from 'node:path';
|
||||
import { createMockMessageBus } from '../test-utils/mock-message-bus.js';
|
||||
|
||||
describe('GetInternalDocsTool (Integration)', () => {
|
||||
let tool: GetInternalDocsTool;
|
||||
const abortSignal = new AbortController().signal;
|
||||
|
||||
beforeEach(() => {
|
||||
tool = new GetInternalDocsTool();
|
||||
tool = new GetInternalDocsTool(createMockMessageBus());
|
||||
});
|
||||
|
||||
it('should find the documentation root and list files', async () => {
|
||||
|
||||
Reference in New Issue
Block a user