mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor(core): Support multiple log scopes (#11318)
This commit is contained in:
@@ -25,5 +25,4 @@ export const mockEntityManager = (entityClass: Class) => {
|
||||
return entityManager;
|
||||
};
|
||||
|
||||
export const mockLogger = () =>
|
||||
mock<Logger>({ withScope: jest.fn().mockReturnValue(mock<Logger>()) });
|
||||
export const mockLogger = () => mock<Logger>({ scoped: jest.fn().mockReturnValue(mock<Logger>()) });
|
||||
|
||||
Reference in New Issue
Block a user