Browse Source

fix: match describe with class

pull/7745/head
mertmit 8 months ago
parent
commit
460c48820c
  1. 2
      packages/nocodb/src/controllers/sources.controller.spec.ts
  2. 2
      packages/nocodb/src/interceptors/is-upload-allowed/is-upload-allowed.interceptor.spec.ts

2
packages/nocodb/src/controllers/sources.controller.spec.ts

@ -3,7 +3,7 @@ import { BasesService } from '../services/bases.service';
import { BasesController } from './bases.controller'; import { BasesController } from './bases.controller';
import type { TestingModule } from '@nestjs/testing'; import type { TestingModule } from '@nestjs/testing';
describe('ProjectsController', () => { describe('BasesController', () => {
let controller: BasesController; let controller: BasesController;
beforeEach(async () => { beforeEach(async () => {

2
packages/nocodb/src/interceptors/is-upload-allowed/is-upload-allowed.interceptor.spec.ts

@ -1,6 +1,6 @@
import { UploadAllowedInterceptor } from './is-upload-allowed.interceptor'; import { UploadAllowedInterceptor } from './is-upload-allowed.interceptor';
describe('IsUploadAllowedInterceptor', () => { describe('UploadAllowedInterceptor', () => {
it('should be defined', () => { it('should be defined', () => {
expect(new UploadAllowedInterceptor()).toBeDefined(); expect(new UploadAllowedInterceptor()).toBeDefined();
}); });

Loading…
Cancel
Save