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