refactor(core): Delete InternalHooks (no-changelog) (#10561)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-08-27 14:33:25 +02:00
committed by GitHub
parent 70b410f4b0
commit 1c40135043
3 changed files with 6 additions and 28 deletions

View File

@@ -6,9 +6,9 @@ import type { BaseCommand } from '@/commands/base-command';
import * as testDb from '../testDb';
import { TelemetryEventRelay } from '@/events/telemetry-event-relay';
import { mockInstance } from '@test/mocking';
import { InternalHooks } from '@/internal-hooks';
import { MessageEventBus } from '@/eventbus/message-event-bus/message-event-bus';
mockInstance(InternalHooks);
mockInstance(MessageEventBus);
export const setupTestCommand = <T extends BaseCommand>(Command: Class<T>) => {
const config = mock<Config>();