import { Test, TestingModule } from '@nestjs/testing'; import { YachtsController } from './yacht.controller'; describe('YachtController', () => { let controller: YachtsController; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ controllers: [YachtsController], }).compile(); controller = module.get(YachtsController); }); it('should be defined', () => { expect(controller).toBeDefined(); }); });