mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
ci: Remove unused WaitTracker mocking (no-changelog) (#9694)
This commit is contained in:
committed by
GitHub
parent
50bd5b9080
commit
6ba789aa6d
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user