mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Rename @n8n/integration-test-utils to @n8n/backend-test-utils (#16444)
This commit is contained in:
@@ -99,7 +99,7 @@
|
||||
"@n8n/db": "workspace:^",
|
||||
"@n8n/decorators": "workspace:*",
|
||||
"@n8n/di": "workspace:*",
|
||||
"@n8n/integration-test-utils": "workspace:^",
|
||||
"@n8n/backend-test-utils": "workspace:^",
|
||||
"@n8n/localtunnel": "3.0.0",
|
||||
"@n8n/n8n-nodes-langchain": "workspace:*",
|
||||
"@n8n/permissions": "workspace:*",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { WorkflowEntity } from '@n8n/db';
|
||||
import type { WorkflowRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
import type {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { GlobalConfig } from '@n8n/config';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { LicenseManager } from '@n8n_io/license-sdk';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { Project } from '@n8n/db';
|
||||
import type { IExecutionResponse } from '@n8n/db';
|
||||
import type { ExecutionRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
import type { IRun, IWorkflowBase } from 'n8n-workflow';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { GlobalConfig } from '@n8n/config';
|
||||
import type { ExecutionRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { WorkflowExecuteMode as ExecutionMode } from 'n8n-workflow';
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { TestRun } from '@n8n/db';
|
||||
import type { TestCaseExecutionRepository } from '@n8n/db';
|
||||
import type { TestRunRepository } from '@n8n/db';
|
||||
import type { WorkflowRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { readFileSync } from 'fs';
|
||||
import type { Mock } from 'jest-mock';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { LDAP_FEATURE_NAME, type LdapConfig } from '@n8n/constants';
|
||||
import type { Settings } from '@n8n/db';
|
||||
import { AuthIdentityRepository, SettingsRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { QueryFailedError } from '@n8n/typeorm';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { Client } from 'ldapts';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { Settings, SettingsRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { captor, mock } from 'jest-mock-extended';
|
||||
|
||||
import type { License } from '@/license';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { Project } from '@n8n/db';
|
||||
import type { WorkflowEntity } from '@n8n/db';
|
||||
import type { IWorkflowDb } from '@n8n/db';
|
||||
import type { SharedWorkflowRepository } from '@n8n/db';
|
||||
import type { WorkflowExecuteAfterContext } from '@n8n/decorators';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { In } from '@n8n/typeorm';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { LicenseState } from '@n8n/backend-common';
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import type { InsightsDateRange } from '@n8n/api-types';
|
||||
import type { LicenseState } from '@n8n/backend-common';
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { Project } from '@n8n/db';
|
||||
import type { WorkflowEntity } from '@n8n/db';
|
||||
import type { IWorkflowDb } from '@n8n/db';
|
||||
import type { WorkflowExecuteAfterContext } from '@n8n/decorators';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import type { MockProxy } from 'jest-mock-extended';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { GlobalConfig } from '@n8n/config';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import * as BullModule from 'bull';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { InstanceSettings } from 'n8n-core';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { GlobalConfig } from '@n8n/config';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import type express from 'express';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { Redis as SingleNodeClient } from 'ioredis';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { OnPubSubEvent, PubSubMetadata } from '@n8n/decorators';
|
||||
import { Container, Service } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { ExecutionsConfig } from '@n8n/config';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { InstanceSettings } from 'n8n-core';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { User } from '@n8n/db';
|
||||
import { WorkflowHistoryRepository } from '@n8n/db';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mockClear } from 'jest-mock-extended';
|
||||
|
||||
import { WorkflowFinderService } from '@/workflows/workflow-finder.service';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { ExecutionsConfig } from '@n8n/config';
|
||||
import type { ExecutionEntity } from '@n8n/db';
|
||||
import { ExecutionRepository } from '@n8n/db';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { BinaryDataService, InstanceSettings } from 'n8n-core';
|
||||
import type { ExecutionStatus, IWorkflowBase } from 'n8n-workflow';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { LicenseState } from '@n8n/backend-common';
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import { SettingsRepository } from '@n8n/db';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { Cipher } from 'n8n-core';
|
||||
import type { IDataObject } from 'n8n-workflow';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { LicenseState } from '@n8n/backend-common';
|
||||
import { mockLogger } from '@n8n/backend-test-utils';
|
||||
import type { User } from '@n8n/db';
|
||||
import { Container } from '@n8n/di';
|
||||
import { mockLogger } from '@n8n/integration-test-utils';
|
||||
import cookieParser from 'cookie-parser';
|
||||
import express from 'express';
|
||||
import type superagent from 'superagent';
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
{ "path": "../@n8n/decorators/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/db/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/backend-common/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/integration-test-utils/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/backend-test-utils/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/di/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/nodes-langchain/tsconfig.build.json" },
|
||||
{ "path": "../@n8n/permissions/tsconfig.build.json" }
|
||||
|
||||
Reference in New Issue
Block a user