feat(core): restore MessageBus optionality for soft migration (Phase 1) (#15774)

This commit is contained in:
Abhi
2026-01-04 14:59:35 -05:00
committed by GitHub
parent d3c206c677
commit eec5d5ebf8
16 changed files with 105 additions and 82 deletions
+2 -1
View File
@@ -13,6 +13,7 @@ import type { Config } from '../config/config.js';
import { FileDiscoveryService } from '../services/fileDiscoveryService.js';
import { ToolErrorType } from './tool-error.js';
import { WorkspaceContext } from '../utils/workspaceContext.js';
import { createMockMessageBus } from '../test-utils/mock-message-bus.js';
describe('LSTool', () => {
let lsTool: LSTool;
@@ -39,7 +40,7 @@ describe('LSTool', () => {
}),
} as unknown as Config;
lsTool = new LSTool(mockConfig);
lsTool = new LSTool(mockConfig, createMockMessageBus());
});
afterEach(async () => {