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,4 +1,7 @@
|
||||
import type { SourceControlledFile } from '@n8n/api-types';
|
||||
import { createTeamProject } from '@n8n/backend-test-utils';
|
||||
import { createWorkflow } from '@n8n/backend-test-utils';
|
||||
import { testDb } from '@n8n/backend-test-utils';
|
||||
import {
|
||||
CredentialsEntity,
|
||||
type Folder,
|
||||
@@ -36,12 +39,8 @@ import { ForbiddenError } from '@/errors/response-errors/forbidden.error';
|
||||
import { EventService } from '@/events/event.service';
|
||||
import { createCredentials } from '@test-integration/db/credentials';
|
||||
import { createFolder } from '@test-integration/db/folders';
|
||||
import { createTeamProject } from '@test-integration/db/projects';
|
||||
import { assignTagToWorkflow, createTag, updateTag } from '@test-integration/db/tags';
|
||||
import { createUser } from '@test-integration/db/users';
|
||||
import { createWorkflow } from '@test-integration/db/workflows';
|
||||
|
||||
import * as testDb from '../shared/test-db';
|
||||
|
||||
jest.mock('fast-glob');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user