Skip to content

Commit 3f1a491

Browse files
committed
test(): updated annotations
1 parent 45a44ee commit 3f1a491

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sample/14-mongoose-base/src/cats/cats.controller.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ describe('CatsController', () => {
4141
],
4242
}).compile();
4343

44-
controller = module.get<CatsController>(CatsController);
45-
service = module.get<CatsService>(CatsService);
44+
controller = module.get(CatsController);
45+
service = module.get(CatsService);
4646
});
4747

4848
it('should be defined', () => {

sample/14-mongoose-base/src/cats/cats.service.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ describe('CatService', () => {
4444
],
4545
}).compile();
4646

47-
service = module.get<CatsService>(CatsService);
47+
service = module.get(CatsService);
4848
model = module.get<Model<Cat>>('CAT_MODEL');
4949
});
5050

0 commit comments

Comments
 (0)