mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor(core): Move Logger to core (no-changelog) (#12310)
This commit is contained in:
committed by
GitHub
parent
b4c77f27b6
commit
471d7b9420
@@ -1,11 +1,10 @@
|
||||
import { DataSource, EntityManager, type EntityMetadata } from '@n8n/typeorm';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { Class } from 'n8n-core';
|
||||
import type { Logger } from 'n8n-core';
|
||||
import type { DeepPartial } from 'ts-essentials';
|
||||
import { Container } from 'typedi';
|
||||
|
||||
import type { Logger } from '@/logging/logger.service';
|
||||
|
||||
export const mockInstance = <T>(
|
||||
serviceClass: Class<T>,
|
||||
data: DeepPartial<T> | undefined = undefined,
|
||||
|
||||
Reference in New Issue
Block a user