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,6 @@
|
||||
import { createWorkflow } from '@n8n/backend-test-utils';
|
||||
import { testDb } from '@n8n/backend-test-utils';
|
||||
import { mockInstance } from '@n8n/backend-test-utils';
|
||||
import type { User } from '@n8n/db';
|
||||
import { readFileSync } from 'fs';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
@@ -14,11 +17,8 @@ import { NodeTypes } from '@/node-types';
|
||||
import { WebhookServer } from '@/webhooks/webhook-server';
|
||||
|
||||
import { createUser } from './shared/db/users';
|
||||
import { createWorkflow } from './shared/db/workflows';
|
||||
import * as testDb from './shared/test-db';
|
||||
import type { SuperAgentTest } from './shared/types';
|
||||
import { initActiveWorkflowManager } from './shared/utils';
|
||||
import { mockInstance } from '../shared/mocking';
|
||||
|
||||
jest.unmock('node:fs');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user