apps/nestjs-backend/src/features/graph/graph.service.spec.ts
import type { TestingModule } from '@nestjs/testing';
import { Test } from '@nestjs/testing';
import { GlobalModule } from '../../global/global.module';
import { GraphModule } from './graph.module';
import { GraphService } from './graph.service';
describe('GraphServiceService', () => {
let service: GraphService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
imports: [GlobalModule, GraphModule],
}).compile();
service = module.get<GraphService>(GraphService);
});
it('should be defined', () => {
expect(service).toBeDefined();
});
});