ci: Remove unused WaitTracker mocking (no-changelog) (#9694)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-06-11 10:28:52 +02:00
committed by GitHub
parent 50bd5b9080
commit 6ba789aa6d
4 changed files with 0 additions and 19 deletions

View File

@@ -17,7 +17,6 @@ import { Push } from '@/push';
import { SharedWorkflowRepository } from '@/databases/repositories/sharedWorkflow.repository';
import { SharedCredentialsRepository } from '@/databases/repositories/sharedCredentials.repository';
import { createTeamProject, findProject, getPersonalProject } from '../../shared/db/projects';
import { WaitTracker } from '@/WaitTracker';
import { getLdapSynchronizations, saveLdapSynchronization } from '@/Ldap/helpers';
import { createLdapConfig } from '../../shared/ldap';
import { LdapService } from '@/Ldap/ldap.service';
@@ -40,9 +39,6 @@ beforeAll(async () => {
mockInstance(Push);
mockInstance(InternalHooks);
mockInstance(LoadNodesAndCredentials);
// This needs to be mocked, otherwise the time setInterval would prevent jest
// from exiting properly.
mockInstance(WaitTracker);
await testDb.init();
await oclifConfig.load();
});