import { Test, TestingModule } from '@nestjs/testing'; import { RestUserController } from './rest-user.controller'; import { RestUserService } from './rest-user.service'; describe('RestUserController', () => { let controller: RestUserController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ controllers: [RestUserController], providers: [RestUserService], }).compile(); controller = module.get(RestUserController); }); it('should be defined', () => { expect(controller).toBeDefined(); }); });