refactor(core): Use typedi to manage EventBus singletons (no-changelog) (#5795)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-03-29 20:38:47 +02:00
committed by GitHub
parent be373bb859
commit 522c790817
15 changed files with 145 additions and 154 deletions

View File

@@ -29,6 +29,7 @@ import { mockInstance } from '../integration/shared/utils';
import { Push } from '@/push';
import { ActiveExecutions } from '@/ActiveExecutions';
import { NodeTypes } from '@/NodeTypes';
import { MessageEventBus } from '@/eventbus';
/**
* TODO:
@@ -155,6 +156,7 @@ describe('ActiveWorkflowRunner', () => {
};
Container.set(LoadNodesAndCredentials, nodesAndCredentials);
mockInstance(Push);
mockInstance(MessageEventBus);
});
beforeEach(() => {