apps/nestjs-backend/test/utils/init-app.ts
File init-app.ts
has 411 lines of code (exceeds 300 allowed). Consider refactoring. Open
Open
/* eslint-disable sonarjs/no-duplicate-string */
import { ValidationPipe } from '@nestjs/common';
import { ConfigService } from '@nestjs/config';
import { WsAdapter } from '@nestjs/platform-ws';
import type { TestingModule } from '@nestjs/testing';
Function updateRecordByApi
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
tableId: string,
recordId: string,
fieldId: string,
newValue: unknown,
expectStatus = 200,