refactor(core): Improve workflow activation logs (#15180)

This commit is contained in:
Iván Ovejero
2025-05-09 14:55:20 +02:00
committed by GitHub
parent ae27b48ee7
commit 591aee5e62
4 changed files with 52 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
import type { WebhookEntity } from '@n8n/db';
import { Container } from '@n8n/di';
import { mock } from 'jest-mock-extended';
import { InstanceSettings, Logger } from 'n8n-core';
import { InstanceSettings } from 'n8n-core';
import { FormTrigger } from 'n8n-nodes-base/nodes/Form/FormTrigger.node';
import { ScheduleTrigger } from 'n8n-nodes-base/nodes/Schedule/ScheduleTrigger.node';
import { NodeApiError, Workflow } from 'n8n-workflow';
@@ -32,7 +32,6 @@ import * as utils from './shared/utils/';
import { mockInstance } from '../shared/mocking';
mockInstance(ActiveExecutions);
mockInstance(Logger);
mockInstance(Push);
mockInstance(SecretsHelper);
mockInstance(ExecutionService);