diff --git a/apps/bot/src/bot.service.spec.ts b/apps/bot/src/bot.service.spec.ts index 82c46f9..e281662 100644 --- a/apps/bot/src/bot.service.spec.ts +++ b/apps/bot/src/bot.service.spec.ts @@ -24,6 +24,12 @@ describe('BotService', () => { emit: jest.fn(), }, }, + { + provide: Services.TGQuestionService.name, + useValue: { + emit: jest.fn(), + }, + }, { provide: ConfigService, useValue: { diff --git a/apps/question-service/src/question-service.controller.spec.ts b/apps/question-service/src/question-service.controller.spec.ts index 607c8b5..a46b10a 100644 --- a/apps/question-service/src/question-service.controller.spec.ts +++ b/apps/question-service/src/question-service.controller.spec.ts @@ -16,9 +16,10 @@ describe('QuestionServiceController', () => { ); }); - // describe('root', () => { - // it('should return "Hello World!"', () => { - // expect(questionServiceController.getHello()).toBe('Hello World!'); - // }); - // }); + describe('root', () => { + it('should return "Hello World!"', () => { + expect(questionServiceController).toBeTruthy; + // expect(questionServiceController.message ()).toBe('Hello World!'); + }); + }); });