Skip to content

Commit

Permalink
Fix command tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Aug 27, 2024
1 parent a395afb commit 55078a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/cli/test/integration/shared/utils/testCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +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 { MessageEventBus } from '@/eventbus/message-event-bus/message-event-bus';

mockInstance(MessageEventBus);

export const setupTestCommand = <T extends BaseCommand>(Command: Class<T>) => {
const config = mock<Config>();
Expand Down

0 comments on commit 55078a6

Please sign in to comment.