mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Move integration test utils for insights (#16693)
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
import { getPersonalProject, mockInstance } from '@n8n/backend-test-utils';
|
||||
import { testDb } from '@n8n/backend-test-utils';
|
||||
import { nanoid } from 'nanoid';
|
||||
|
||||
import { ImportCredentialsCommand } from '@/commands/import/credentials';
|
||||
import { LoadNodesAndCredentials } from '@/load-nodes-and-credentials';
|
||||
import { setupTestCommand } from '@test-integration/utils/test-command';
|
||||
|
||||
import { mockInstance } from '../../shared/mocking';
|
||||
import { getAllCredentials, getAllSharedCredentials } from '../shared/db/credentials';
|
||||
import { getPersonalProject } from '../shared/db/projects';
|
||||
import { createMember, createOwner } from '../shared/db/users';
|
||||
import * as testDb from '../shared/test-db';
|
||||
|
||||
mockInstance(LoadNodesAndCredentials);
|
||||
const command = setupTestCommand(ImportCredentialsCommand);
|
||||
|
||||
Reference in New Issue
Block a user