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 { ApiKeyWithRawValue } from '@n8n/api-types';
|
||||
import { testDb } from '@n8n/backend-test-utils';
|
||||
import { randomValidPassword } from '@n8n/backend-test-utils';
|
||||
import { mockInstance } from '@n8n/backend-test-utils';
|
||||
import { GlobalConfig } from '@n8n/config';
|
||||
import type { User } from '@n8n/db';
|
||||
import { ApiKeyRepository } from '@n8n/db';
|
||||
@@ -12,11 +15,8 @@ import { mock } from 'jest-mock-extended';
|
||||
|
||||
import type { License } from '@/license';
|
||||
import { PublicApiKeyService } from '@/services/public-api-key.service';
|
||||
import { mockInstance } from '@test/mocking';
|
||||
|
||||
import { createOwnerWithApiKey, createUser, createUserShell } from './shared/db/users';
|
||||
import { randomValidPassword } from './shared/random';
|
||||
import * as testDb from './shared/test-db';
|
||||
import type { SuperAgentTest } from './shared/types';
|
||||
import * as utils from './shared/utils/';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user