feat(core,cli): enforce mandatory MessageBus injection (Phase 3 Hard Migration) (#15776)

This commit is contained in:
Abhi
2026-01-04 17:11:43 -05:00
committed by GitHub
parent 90be9c3587
commit 12c7c9cc42
57 changed files with 442 additions and 278 deletions

View File

@@ -18,6 +18,7 @@ import {
SessionStartSource,
type HookExecutionResult,
} from './types.js';
import { createMockMessageBus } from '../test-utils/mock-message-bus.js';
// Mock debugLogger
const mockDebugLogger = vi.hoisted(() => ({
@@ -92,6 +93,7 @@ describe('HookEventHandler', () => {
mockHookPlanner,
mockHookRunner,
mockHookAggregator,
createMockMessageBus(),
);
});