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