teableio/teable

View on GitHub
apps/nestjs-backend/src/features/comment/comment-open-api.controller.spec.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { TestingModule } from '@nestjs/testing';
import { Test } from '@nestjs/testing';
import { CommentOpenApiController } from './comment-open-api.controller';

describe('CommentOpenApiController', () => {
  let controller: CommentOpenApiController;

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

    controller = module.get<CommentOpenApiController>(CommentOpenApiController);
  });

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