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