mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Move integration test utils for insights (#16693)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { randomName } from '@n8n/backend-test-utils';
|
||||
import { mockInstance } from '@n8n/backend-test-utils';
|
||||
import type { WorkflowEntity } from '@n8n/db';
|
||||
import { generateNanoId } from '@n8n/db';
|
||||
import { WorkflowRepository } from '@n8n/db';
|
||||
@@ -8,10 +10,8 @@ import { ActiveWorkflowManager } from '@/active-workflow-manager';
|
||||
import { MultiMainSetup } from '@/scaling/multi-main-setup.ee';
|
||||
|
||||
import { createOwner } from './shared/db/users';
|
||||
import { randomName } from './shared/random';
|
||||
import type { SuperAgentTest } from './shared/types';
|
||||
import { setupTestServer } from './shared/utils';
|
||||
import { mockInstance } from '../shared/mocking';
|
||||
|
||||
describe('DebugController', () => {
|
||||
const workflowRepository = mockInstance(WorkflowRepository);
|
||||
|
||||
Reference in New Issue
Block a user