collections.controller.spec.ts 527 B

123456789101112131415161718
  1. import { Test, TestingModule } from '@nestjs/testing';
  2. import { CollectionsController } from './collections.controller';
  3. describe('CollectionsController', () => {
  4. let controller: CollectionsController;
  5. beforeEach(async () => {
  6. const module: TestingModule = await Test.createTestingModule({
  7. controllers: [CollectionsController],
  8. }).compile();
  9. controller = module.get<CollectionsController>(CollectionsController);
  10. });
  11. it('should be defined', () => {
  12. expect(controller).toBeDefined();
  13. });
  14. });