mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
refactor(api): enhance logic
This commit is contained in:
@@ -54,7 +54,7 @@ describe('AttachmentController', () => {
|
||||
|
||||
beforeAll(async () => {
|
||||
const { getMocks, resolveMocks } = await buildTestingMocks({
|
||||
autoInjectFrom: ['all'],
|
||||
autoInjectFrom: ['controllers', 'providers'],
|
||||
controllers: [AttachmentController],
|
||||
imports: [
|
||||
rootMongooseTestModule(async () => {
|
||||
|
||||
Reference in New Issue
Block a user