refactor(core): Use DI in execution services (no-changelog) (#8358)

This commit is contained in:
Iván Ovejero
2024-01-17 15:42:19 +01:00
committed by GitHub
parent 01280815c9
commit 2eb829a6b4
9 changed files with 101 additions and 106 deletions

View File

@@ -18,10 +18,10 @@ import * as testDb from './shared/testDb';
import type { SuperAgentTest } from 'supertest';
import type { Role } from '@db/entities/Role';
import type { User } from '@db/entities/User';
import { ExecutionsService } from '@/executions/executions.service';
import { ExecutionService } from '@/executions/execution.service';
import { mockInstance } from '../shared/mocking';
mockInstance(ExecutionsService);
mockInstance(ExecutionService);
const testServer = utils.setupTestServer({
endpointGroups: ['users'],