northwind-weather-api / apps /apigateway /src /modules /weather /weather.controller.spec.ts
mishrabp's picture
Upload folder using huggingface_hub
1e3bf12 verified
import { Test, TestingModule } from '@nestjs/testing';
import { WeatherController } from './weather.controller';
describe('WeatherController', () => {
let controller: WeatherController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [WeatherController],
}).compile();
controller = module.get<WeatherController>(WeatherController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});