mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Decouple database entity registration (#15871)
Co-authored-by: Danny Martini <danny@n8n.io>
This commit is contained in:
@@ -8,6 +8,7 @@ import { mockLogger } from '@test/mocking';
|
||||
import { createTeamProject } from '@test-integration/db/projects';
|
||||
import { createWorkflow } from '@test-integration/db/workflows';
|
||||
import * as testDb from '@test-integration/test-db';
|
||||
import * as testModules from '@test-integration/test-modules';
|
||||
|
||||
import {
|
||||
createCompactedInsightsEvent,
|
||||
@@ -18,6 +19,7 @@ import { InsightsPruningService } from '../insights-pruning.service';
|
||||
import { InsightsConfig } from '../insights.config';
|
||||
|
||||
beforeAll(async () => {
|
||||
await testModules.load(['insights']);
|
||||
await testDb.init();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user