refactor(core): Standardize filename casing for services and Public API (no-changelog) (#10579)

This commit is contained in:
Iván Ovejero
2024-08-28 13:59:27 +02:00
committed by GitHub
parent dca797e4db
commit d7241cfc3a
226 changed files with 177 additions and 172 deletions

View File

@@ -20,7 +20,7 @@ import { OrchestrationService } from '@/services/orchestration.service';
import { mockInstance } from '../../../shared/mocking';
export { setupTestServer } from './testServer';
export { setupTestServer } from './test-server';
// ----------------------------------
// initializers
@@ -137,7 +137,7 @@ export const setInstanceOwnerSetUp = async (value: boolean) => {
// community nodes
// ----------------------------------
export * from './communityNodes';
export * from './community-nodes';
// ----------------------------------
// workflow

View File

@@ -3,7 +3,7 @@ import type { Class } from 'n8n-core';
import { mock } from 'jest-mock-extended';
import type { BaseCommand } from '@/commands/base-command';
import * as testDb from '../testDb';
import * as testDb from '../test-db';
import { TelemetryEventRelay } from '@/events/telemetry-event-relay';
import { mockInstance } from '@test/mocking';
import { MessageEventBus } from '@/eventbus/message-event-bus/message-event-bus';

View File

@@ -18,7 +18,7 @@ import { AuthService } from '@/auth/auth.service';
import type { APIRequest } from '@/requests';
import { mockInstance } from '../../../shared/mocking';
import * as testDb from '../../shared/testDb';
import * as testDb from '../test-db';
import { PUBLIC_API_REST_PATH_SEGMENT, REST_PATH_SEGMENT } from '../constants';
import type { SetupProps, TestServer } from '../types';
import { LicenseMocker } from '../license';
@@ -114,7 +114,7 @@ export const setupTestServer = ({
const enablePublicAPI = endpointGroups?.includes('publicApi');
if (enablePublicAPI) {
const { loadPublicApiVersions } = await import('@/PublicApi');
const { loadPublicApiVersions } = await import('@/public-api');
const { apiRouters } = await loadPublicApiVersions(PUBLIC_API_REST_PATH_SEGMENT);
app.use(...apiRouters);
}