apps/nestjs-backend/src/features/dashboard/dashboard.controller.spec.ts
import type { TestingModule } from '@nestjs/testing';
import { Test } from '@nestjs/testing';
import { DashboardController } from './dashboard.controller';
describe('DashboardController', () => {
let controller: DashboardController;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
controllers: [DashboardController],
}).compile();
controller = module.get<DashboardController>(DashboardController);
});
it('should be defined', () => {
expect(controller).toBeDefined();
});
});