mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-27 21:32:54 +00:00
This contains the module, a service (which only returns mock data), a model and two DTOs for history entries. Signed-off-by: David Mehren <git@herrmehren.de>
18 lines
467 B
TypeScript
18 lines
467 B
TypeScript
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>(HistoryService);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(service).toBeDefined();
|
|
});
|
|
});
|