import { Test, TestingModule } from '@nestjs/testing'; import { TopicCrudService } from './topic-crud.service'; describe('TopicCrudService', () => { let service: TopicCrudService; beforeEach(async () => { const module: TestingModule = await Test.createTestingModule({ providers: [TopicCrudService], }).compile(); service = module.get(TopicCrudService); }); it('should be defined', () => { expect(service).toBeDefined(); }); });