mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-25 13:29:46 +00:00
refactor(core): Standardize filename casing for services and Public API (no-changelog) (#10579)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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';
|
||||
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user