| 1 | import { Test, TestingModule } from '@nestjs/testing'; |
| 2 | import { AppController } |
| 3 | import { AppService } |
| 4 | |
| 5 | describe('AppController', () |
| 6 | let appController: |
| 7 | |
| 8 | beforeEach(async () |
| 9 | const app: |
| 10 | controllers: [AppController], |
| 11 | providers: [AppService], |
| 12 | }).compile(); |
| 13 | |
| 14 | appController = app. |
| 15 | }); |
| 16 | |
| 17 | describe('root', |
| 18 | it('should return "Hello World!"', |
| 19 | expect(appController.getHello |
| 20 | }); |
| 21 | }); |
| 22 | }); |