refactor(core): Delete InternalHooks (no-changelog) (#10561)
Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
committed by
GitHub
parent
70b410f4b0
commit
1c40135043
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user