refactor(core): Port event bus config (no-changelog) (#10111)

This commit is contained in:
Iván Ovejero
2024-07-19 13:25:44 +02:00
committed by GitHub
parent aba1c64500
commit 9ab29f2181
6 changed files with 51 additions and 64 deletions

View File

@@ -1,5 +1,4 @@
import { Container } from 'typedi';
import config from '@/config';
import axios from 'axios';
import syslog from 'syslog-client';
import { v4 as uuid } from 'uuid';
@@ -92,9 +91,6 @@ beforeAll(async () => {
mockedSyslog.createClient.mockImplementation(() => new syslog.Client());
config.set('eventBus.logWriter.logBaseName', 'n8n-test-logwriter');
config.set('eventBus.logWriter.keepLogCount', 1);
eventBus = Container.get(MessageEventBus);
await eventBus.initialize();
});