ticket-booking-be/src/locations/locations.controller.spec.ts
2025-07-25 20:17:33 +05:30

21 lines
606 B
TypeScript

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