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

@@ -5,8 +5,6 @@ import { createMember, createOwner } from './shared/db/users';
import { createWorkflow, shareWorkflowWithUsers } from './shared/db/workflows';
import * as testDb from './shared/testDb';
import { setupTestServer } from './shared/utils';
import { mockInstance } from '../shared/mocking';
import { WaitTracker } from '@/WaitTracker';
import { createTeamProject, linkUserToProject } from './shared/db/projects';
const testServer = setupTestServer({ endpointGroups: ['executions'] });
@@ -14,9 +12,6 @@ const testServer = setupTestServer({ endpointGroups: ['executions'] });
let owner: User;
let member: User;
// This is necessary for the tests to shutdown cleanly.
mockInstance(WaitTracker);
const saveExecution = async ({ belongingTo }: { belongingTo: User }) => {
const workflow = await createWorkflow({}, belongingTo);
return await createSuccessfulExecution(workflow);