refactor(core): Move Logger to core (no-changelog) (#12310)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-12-23 13:46:13 +01:00
committed by GitHub
parent b4c77f27b6
commit 471d7b9420
142 changed files with 328 additions and 302 deletions

View File

@@ -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,