teableio/teable

View on GitHub
apps/nestjs-backend/src/features/aggregation/open-api/aggregation-open-api.service.spec.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { TestingModule } from '@nestjs/testing';
import { Test } from '@nestjs/testing';
import { GlobalModule } from '../../../global/global.module';
import { AggregationOpenApiModule } from './aggregation-open-api.module';
import { AggregationOpenApiService } from './aggregation-open-api.service';

describe('AggregationOpenApiService', () => {
  let service: AggregationOpenApiService;

  beforeEach(async () => {
    const module: TestingModule = await Test.createTestingModule({
      imports: [GlobalModule, AggregationOpenApiModule],
    }).compile();

    service = module.get<AggregationOpenApiService>(AggregationOpenApiService);
  });

  it('should be defined', () => {
    expect(service).toBeDefined();
  });
});