ci(core): Load config schema after process.env has been overwritten (no-changelog) (#7550)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-11-07 15:58:28 +01:00
committed by GitHub
parent 60314248f4
commit f0fc5b16d3
7 changed files with 25 additions and 18 deletions

View File

@@ -36,6 +36,7 @@ afterEach(() => {
test('should not init license if instance is follower in multi-main scenario', async () => {
config.set('executions.mode', 'queue');
config.set('endpoints.disableUi', true);
config.set('leaderSelection.enabled', true);
jest.spyOn(MultiMainInstancePublisher.prototype, 'isFollower', 'get').mockReturnValue(true);