refactor(core): Standardize filename casing for environments and eventbus (no-changelog) (#10527)

This commit is contained in:
Iván Ovejero
2024-08-26 11:10:06 +02:00
committed by GitHub
parent 9d156d3703
commit 96e69ad5f2
87 changed files with 207 additions and 206 deletions

View File

@@ -14,13 +14,13 @@ import {
} from 'n8n-workflow';
import type { User } from '@db/entities/User';
import { MessageEventBus } from '@/eventbus/MessageEventBus/MessageEventBus';
import { EventMessageGeneric } from '@/eventbus/EventMessageClasses/EventMessageGeneric';
import type { MessageEventBusDestinationSyslog } from '@/eventbus/MessageEventBusDestination/MessageEventBusDestinationSyslog.ee';
import type { MessageEventBusDestinationWebhook } from '@/eventbus/MessageEventBusDestination/MessageEventBusDestinationWebhook.ee';
import type { MessageEventBusDestinationSentry } from '@/eventbus/MessageEventBusDestination/MessageEventBusDestinationSentry.ee';
import { EventMessageAudit } from '@/eventbus/EventMessageClasses/EventMessageAudit';
import type { EventNamesTypes } from '@/eventbus/EventMessageClasses';
import { MessageEventBus } from '@/eventbus/message-event-bus/message-event-bus';
import { EventMessageGeneric } from '@/eventbus/event-message-classes/event-message-generic';
import type { MessageEventBusDestinationSyslog } from '@/eventbus/message-event-bus-destination/message-event-bus-destination-syslog.ee';
import type { MessageEventBusDestinationWebhook } from '@/eventbus/message-event-bus-destination/message-event-bus-destination-webhook.ee';
import type { MessageEventBusDestinationSentry } from '@/eventbus/message-event-bus-destination/message-event-bus-destination-sentry.ee';
import { EventMessageAudit } from '@/eventbus/event-message-classes/event-message-audit';
import type { EventNamesTypes } from '@/eventbus/event-message-classes';
import { ExecutionRecoveryService } from '@/executions/execution-recovery.service';
import * as utils from './shared/utils';
@@ -28,7 +28,7 @@ import { createUser } from './shared/db/users';
import { mockInstance } from '../shared/mocking';
import type { SuperAgentTest } from './shared/types';
jest.unmock('@/eventbus/MessageEventBus/MessageEventBus');
jest.unmock('@/eventbus/message-event-bus/message-event-bus');
jest.mock('axios');
const mockedAxios = axios as jest.Mocked<typeof axios>;
jest.mock('syslog-client');
@@ -96,7 +96,7 @@ beforeAll(async () => {
});
afterAll(async () => {
jest.mock('@/eventbus/MessageEventBus/MessageEventBus');
jest.mock('@/eventbus/message-event-bus/message-event-bus');
await eventBus?.close();
});