refactor(api): enhance logic

This commit is contained in:
yassinedorbozgithub
2025-06-18 14:08:48 +01:00
parent 369ef033a2
commit b7576c04e9
8 changed files with 10 additions and 11 deletions

View File

@@ -54,7 +54,7 @@ describe('AttachmentController', () => {
beforeAll(async () => {
const { getMocks, resolveMocks } = await buildTestingMocks({
autoInjectFrom: ['all'],
autoInjectFrom: ['controllers', 'providers'],
controllers: [AttachmentController],
imports: [
rootMongooseTestModule(async () => {