travelmarine-backend/src/yachts/yachts.controller.spec.ts

19 lines
490 B
TypeScript

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>(YachtsController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});