cc012f32 years ago20 lines · 596 B| 1 | import { Test, TestingModule } from '@nestjs/testing'; |
| 2 | import { AirlinesController } |
| 3 | import { AirlinesService } |
| 4 | |
| 5 | describe('AirlinesController', () |
| 6 | let controller: |
| 7 | |
| 8 | beforeEach(async () |
| 9 | const module: |
| 10 | controllers: [AirlinesController], |
| 11 | providers: [AirlinesService], |
| 12 | }).compile(); |
| 13 | |
| 14 | controller = module. |
| 15 | }); |
| 16 | |
| 17 | it('should be defined', |
| 18 | expect(controller).toBeDefined |
| 19 | }); |
| 20 | }); |