mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Move integration test utils for insights (#16693)
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
import { getPersonalProject, mockInstance } from '@n8n/backend-test-utils';
|
||||
import { createWorkflow } from '@n8n/backend-test-utils';
|
||||
import { testDb } from '@n8n/backend-test-utils';
|
||||
import { randomCredentialPayload } from '@n8n/backend-test-utils';
|
||||
import { CredentialsEntity, SettingsRepository } from '@n8n/db';
|
||||
import { CredentialsRepository } from '@n8n/db';
|
||||
import { SharedCredentialsRepository } from '@n8n/db';
|
||||
@@ -10,13 +14,8 @@ import { LoadNodesAndCredentials } from '@/load-nodes-and-credentials';
|
||||
import { NodeTypes } from '@/node-types';
|
||||
import { setupTestCommand } from '@test-integration/utils/test-command';
|
||||
|
||||
import { mockInstance } from '../../shared/mocking';
|
||||
import { encryptCredentialData, saveCredential } from '../shared/db/credentials';
|
||||
import { getPersonalProject } from '../shared/db/projects';
|
||||
import { createMember, createUser } from '../shared/db/users';
|
||||
import { createWorkflow } from '../shared/db/workflows';
|
||||
import { randomCredentialPayload } from '../shared/random';
|
||||
import * as testDb from '../shared/test-db';
|
||||
|
||||
mockInstance(LoadNodesAndCredentials);
|
||||
mockInstance(NodeTypes);
|
||||
|
||||
Reference in New Issue
Block a user